{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 细读地图API（高德）\n",
    "\n",
    "\n",
    "\n",
    "## 本周内容介绍\n",
    "\n",
    "* 关键：如何详细阅读和使用API参数\n",
    "    1. 回顾地理编码、逆地理编码、步行路径规划\n",
    "    2. 路径规划2\n",
    "    3. 搜索POI\n",
    "    4. IP定位\n",
    "    5. 批量请求借口\n",
    "    6. 静态地图\n",
    "    7. 坐标转换 \n",
    "    8. 交通态势\n",
    "\n",
    "## 作业：\n",
    "\n",
    "### 课后作业：调用高德Web服务API文档中所有功能\n",
    "\n",
    "+ 至少完成每一个模块中的一个子功能的API调用，封装成函数，开源到github/gitee上\n",
    "\n",
    "+ 在调用每一个功能的同时，思考其背后是否含有ML、AI的功能（比如计算机视觉、语音识别、推荐算法等），并整理思考的结果，在调用API代码模块中用markdown说明。\n",
    "\n",
    "+ 尝试设计一个简单的应用（不要求写代码），至少涉及3个API功能。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 回顾地理编码、逆地理编码、步行路径规划（代码A）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "import requests\n",
    "zoe_key =\"b103da03d296d5df1de46a31e2bead53\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### A-1 获取地理编码"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'info': 'OK', 'infocode': '10000', 'count': '1', 'geocodes': [{'formatted_address': '广东省广州市天河区天环广场', 'country': '中国', 'province': '广东省', 'citycode': '020', 'city': '广州市', 'district': '天河区', 'township': [], 'neighborhood': {'name': [], 'type': []}, 'building': {'name': [], 'type': []}, 'adcode': '440106', 'street': [], 'number': [], 'location': '113.324156,23.131929', 'level': '兴趣点'}]}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>formatted_address</th>\n",
       "      <th>country</th>\n",
       "      <th>province</th>\n",
       "      <th>citycode</th>\n",
       "      <th>city</th>\n",
       "      <th>district</th>\n",
       "      <th>township</th>\n",
       "      <th>adcode</th>\n",
       "      <th>street</th>\n",
       "      <th>number</th>\n",
       "      <th>location</th>\n",
       "      <th>level</th>\n",
       "      <th>neighborhood.name</th>\n",
       "      <th>neighborhood.type</th>\n",
       "      <th>building.name</th>\n",
       "      <th>building.type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>广东省广州市天河区天环广场</td>\n",
       "      <td>中国</td>\n",
       "      <td>广东省</td>\n",
       "      <td>020</td>\n",
       "      <td>广州市</td>\n",
       "      <td>天河区</td>\n",
       "      <td>[]</td>\n",
       "      <td>440106</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>113.324156,23.131929</td>\n",
       "      <td>兴趣点</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  formatted_address country province citycode city district township  adcode  \\\n",
       "0     广东省广州市天河区天环广场      中国      广东省      020  广州市      天河区       []  440106   \n",
       "\n",
       "  street number              location level neighborhood.name  \\\n",
       "0     []     []  113.324156,23.131929   兴趣点                []   \n",
       "\n",
       "  neighborhood.type building.name building.type  \n",
       "0                []            []            []  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "天环广场地理编码: 113.324156,23.131929\n"
     ]
    }
   ],
   "source": [
    "# A-1 地理编码\n",
    "def geocode(address,city=None,batch=None,sig=None)->dict:\n",
    "    \"\"\"获取地理编码\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/geocode/geo?parameters'\n",
    "    params={\n",
    "        'key': zoe_key,\n",
    "        'address':address,\n",
    "        'city':city,\n",
    "        'batch':batch,\n",
    "        'sig':sig,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "天环广场 = geocode(address='广东省广州市天河区天河南街道天河路天环广场')\n",
    "print(天环广场)\n",
    "df_天环广场地理编码 = pd.json_normalize(天环广场['geocodes'])\n",
    "display(df_天环广场地理编码)\n",
    "天环广场地理编码 = 天环广场['geocodes'][0]['location']\n",
    "print(\"天环广场地理编码:\",天环广场地理编码)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### A-2 逆地理编码（基础/全）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'regeocode': {'addressComponent': {'city': '广州市', 'province': '广东省', 'adcode': '440106', 'district': '天河区', 'towncode': '440106008000', 'streetNumber': {'number': '49号', 'location': '113.324334,23.1318783', 'direction': '东', 'distance': '19.0289', 'street': '体育东路'}, 'country': '中国', 'township': '天河南街道', 'businessAreas': [{'location': '113.323294,23.139761', 'name': '天河北', 'id': '440106'}, {'location': '113.324171,23.14286', 'name': '林和村', 'id': '440106'}, {'location': '113.333776,23.119825', 'name': '珠江新城', 'id': '440106'}], 'building': {'name': [], 'type': []}, 'neighborhood': {'name': [], 'type': []}, 'citycode': '020'}, 'formatted_address': '广东省广州市天河区天河南街道体育东路49号天环广场'}, 'info': 'OK', 'infocode': '10000'}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>status</th>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>info</th>\n",
       "      <td>OK</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>infocode</th>\n",
       "      <td>10000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.city</th>\n",
       "      <td>广州市</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.province</th>\n",
       "      <td>广东省</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.adcode</th>\n",
       "      <td>440106</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.district</th>\n",
       "      <td>天河区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.towncode</th>\n",
       "      <td>440106008000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.number</th>\n",
       "      <td>49号</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.location</th>\n",
       "      <td>113.324334,23.1318783</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.direction</th>\n",
       "      <td>东</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.distance</th>\n",
       "      <td>19.0289</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.street</th>\n",
       "      <td>体育东路</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.country</th>\n",
       "      <td>中国</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.township</th>\n",
       "      <td>天河南街道</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.businessAreas</th>\n",
       "      <td>[{'location': '113.323294,23.139761', 'name': ...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.building.name</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.building.type</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.neighborhood.name</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.neighborhood.type</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.citycode</th>\n",
       "      <td>020</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.formatted_address</th>\n",
       "      <td>广东省广州市天河区天河南街道体育东路49号天环广场</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                                                                   0\n",
       "status                                                                                             1\n",
       "info                                                                                              OK\n",
       "infocode                                                                                       10000\n",
       "regeocode.addressComponent.city                                                                  广州市\n",
       "regeocode.addressComponent.province                                                              广东省\n",
       "regeocode.addressComponent.adcode                                                             440106\n",
       "regeocode.addressComponent.district                                                              天河区\n",
       "regeocode.addressComponent.towncode                                                     440106008000\n",
       "regeocode.addressComponent.streetNumber.number                                                   49号\n",
       "regeocode.addressComponent.streetNumber.location                               113.324334,23.1318783\n",
       "regeocode.addressComponent.streetNumber.direction                                                  东\n",
       "regeocode.addressComponent.streetNumber.distance                                             19.0289\n",
       "regeocode.addressComponent.streetNumber.street                                                  体育东路\n",
       "regeocode.addressComponent.country                                                                中国\n",
       "regeocode.addressComponent.township                                                            天河南街道\n",
       "regeocode.addressComponent.businessAreas           [{'location': '113.323294,23.139761', 'name': ...\n",
       "regeocode.addressComponent.building.name                                                          []\n",
       "regeocode.addressComponent.building.type                                                          []\n",
       "regeocode.addressComponent.neighborhood.name                                                      []\n",
       "regeocode.addressComponent.neighborhood.type                                                      []\n",
       "regeocode.addressComponent.citycode                                                              020\n",
       "regeocode.formatted_address                                                广东省广州市天河区天河南街道体育东路49号天环广场"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# A-2 基础逆地理编码分析\n",
    "def regeocode(location,poitype=None,radius=None,extensions=\"base\",batch=False,roadlevel=None,sig=None,homeorcorp=None)->dict:\n",
    "    \"\"\"获取逆地理编码\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/geocode/regeo?parameters'\n",
    "    params={\n",
    "        'key': zoe_key,\n",
    "        'location':location,\n",
    "        'poitype':poitype,\n",
    "        'radius':radius,\n",
    "        'extensions':extensions,\n",
    "        'batch':batch,\n",
    "        'roadlevel':roadlevel,\n",
    "        'homeorcorp':homeorcorp,\n",
    "        'sig':sig,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "\n",
    "天环广场逆地理编码 = regeocode(天环广场地理编码)\n",
    "print(天环广场逆地理编码)\n",
    "df_天环广场逆地理编码 = pd.json_normalize(天环广场逆地理编码).T\n",
    "display(df_天环广场逆地理编码)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'regeocode': {'roads': [{'id': '020F49F011043607333', 'location': '113.324,23.132', 'direction': '东', 'name': '天河城大街', 'distance': '64.2579'}, {'id': '020F49F01104332433', 'location': '113.324,23.1311', 'direction': '北', 'name': '天河南一路', 'distance': '91.8733'}, {'id': '020F49F01104365', 'location': '113.324,23.1335', 'direction': '南', 'name': '天河路', 'distance': '175.199'}], 'roadinters': [{'second_name': '天河城大街', 'first_id': '020F49F01104332433', 'second_id': '020F49F011043607333', 'location': '113.3234611,23.13111917', 'distance': '114.71', 'first_name': '天河南一路', 'direction': '东北'}], 'formatted_address': '广东省广州市天河区天河南街道体育东路49号天环广场', 'addressComponent': {'city': '广州市', 'province': '广东省', 'adcode': '440106', 'district': '天河区', 'towncode': '440106008000', 'streetNumber': {'number': '49号', 'location': '113.324334,23.1318783', 'direction': '东', 'distance': '19.0289', 'street': '体育东路'}, 'country': '中国', 'township': '天河南街道', 'businessAreas': [{'location': '113.323294,23.139761', 'name': '天河北', 'id': '440106'}, {'location': '113.324171,23.14286', 'name': '林和村', 'id': '440106'}, {'location': '113.333776,23.119825', 'name': '珠江新城', 'id': '440106'}], 'building': {'name': [], 'type': []}, 'neighborhood': {'name': [], 'type': []}, 'citycode': '020'}, 'aois': [{'area': '46379.383944', 'type': '060101', 'id': 'B0FFG1OCOA', 'location': '113.324701,23.132257', 'adcode': '440106', 'name': '天环广场', 'distance': '0'}], 'pois': [{'id': 'B0FFG1OCOA', 'direction': '东北', 'businessarea': '天河北', 'address': '天河路218号', 'poiweight': '0.215345', 'name': '天环广场', 'location': '113.324701,23.132257', 'distance': '66.6091', 'tel': '020-22033061;020-29167328', 'type': '购物服务;商场;购物中心'}, {'id': 'BV10017706', 'direction': '东南', 'businessarea': '天河北', 'address': 'APM线', 'poiweight': '0.6', 'name': '天河南(地铁站)', 'location': '113.324479,23.131384', 'distance': '69.0096', 'tel': [], 'type': '交通设施服务;地铁站;地铁站'}, {'id': 'B00141UE4E', 'direction': '西', 'businessarea': '天河北', 'address': '天河路208号', 'poiweight': '0.710269', 'name': '天河城', 'location': '113.322605,23.132333', 'distance': '164.86', 'tel': '020-85592818', 'type': '购物服务;商场;购物中心'}, {'id': 'B0FFH7LH2S', 'direction': '西北', 'businessarea': '天河北', 'address': '天河路208号粤海天河城大厦2202-03单元', 'poiweight': '0.48', 'name': '德意志银行(中国)有限公司(广州分行)', 'location': '113.323127,23.132708', 'distance': '136.319', 'tel': '020-85104000', 'type': '金融保险服务;银行;德意志银行'}, {'id': 'B00140AP22', 'direction': '西北', 'businessarea': '天河北', 'address': '天河路208号天河城F1', 'poiweight': '0.532187', 'name': '粤海天河城大厦', 'location': '113.323151,23.132758', 'distance': '138.07', 'tel': [], 'type': '商务住宅;楼宇;商务写字楼'}, {'id': 'B0FFG40DXI', 'direction': '西北', 'businessarea': '天河北', 'address': '天河路208号天河城2层201A', 'poiweight': '0.348364', 'name': '中国建设银行(广州天河城支行)', 'location': '113.322874,23.132671', 'distance': '154.933', 'tel': '020-85590672;020-85590675;95533', 'type': '金融保险服务;银行;中国建设银行'}, {'id': 'B0014244YY', 'direction': '西', 'businessarea': '天河北', 'address': '天河路208号天河城4层电器行C01-C02铺(近体育中心)', 'poiweight': '0.354965', 'name': '天河城百货国美电器', 'location': '113.322966,23.131821', 'distance': '122.278', 'tel': '020-85596033;020-85592818', 'type': '购物服务;家电电子卖场;国美'}, {'id': 'B0FFFP158Y', 'direction': '西北', 'businessarea': '天河北', 'address': '天河路208号天河城东塔楼101首层部分及第2、3层', 'poiweight': '0.458448', 'name': '平安银行(广州天河城支行)', 'location': '113.322878,23.132864', 'distance': '167.006', 'tel': '020-38109585;020-38109659', 'type': '金融保险服务;银行;平安银行'}, {'id': 'B00140TBIM', 'direction': '西北', 'businessarea': '天河北', 'address': '天河路208号粤海天河城大厦1层1号', 'poiweight': '0.369143', 'name': '汇丰银行(广州天河城支行)', 'location': '113.322969,23.133054', 'distance': '174.325', 'tel': '020-83131792;4008203090', 'type': '金融保险服务;银行;汇丰银行'}, {'id': 'B0FFGBYTDK', 'direction': '西北', 'businessarea': '天河北', 'address': '天河路208号粤海天河城大厦4104-07室', 'poiweight': '0.194223', 'name': '斯芬克国际艺术教育(天河区校区)', 'location': '113.323142,23.132577', 'distance': '126.288', 'tel': '4000024006', 'type': '科教文化服务;科教文化场所;科教文化场所'}, {'id': 'B00140T3M7', 'direction': '西南', 'businessarea': '天河北', 'address': '天河南一路24号', 'poiweight': '0.290461', 'name': '广州市环境保护科学研究院', 'location': '113.323318,23.130788', 'distance': '153.095', 'tel': '020-85515817;020-87504557', 'type': '科教文化服务;科研机构;科研机构'}, {'id': 'B0FFFP19NH', 'direction': '西南', 'businessarea': '天河北', 'address': '天河南街道天河南一路24号', 'poiweight': '0.172914', 'name': '广州市环境保护宣传教育中心', 'location': '113.323092,23.130888', 'distance': '158.865', 'tel': [], 'type': '科教文化服务;科教文化场所;科教文化场所'}, {'id': 'B0FFFALC0D', 'direction': '东南', 'businessarea': '天河北', 'address': '天河南一路六运二街1号', 'poiweight': '0.199144', 'name': '时尚钢琴(天河南店)', 'location': '113.324857,23.130442', 'distance': '180.212', 'tel': '020-85584855', 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B00140JDWH', 'direction': '西', 'businessarea': '天河北', 'address': '天河路208号天河城7层706-708号', 'poiweight': '0.25401', 'name': '稻香(天河城)', 'location': '113.322604,23.132348', 'distance': '165.432', 'tel': '020-85590808', 'type': '餐饮服务;中餐厅;广东菜(粤菜)|餐饮服务;中餐厅;特色/地方风味餐厅'}, {'id': 'B00141N9OS', 'direction': '西', 'businessarea': '天河北', 'address': '天河路208号天河城大厦7层', 'poiweight': '0.324546', 'name': '俏江南(天河城)', 'location': '113.322762,23.131645', 'distance': '146.021', 'tel': '020-85598550;4001517517', 'type': '餐饮服务;中餐厅;四川菜(川菜)'}, {'id': 'B0014244Y3', 'direction': '西', 'businessarea': '天河北', 'address': '天河路208号天河城F7层701', 'poiweight': '0.341475', 'name': '泰满冠泰国菜馆(天河城)', 'location': '113.323124,23.132188', 'distance': '109.418', 'tel': '020-85591800;020-85591080', 'type': '餐饮服务;外国餐厅;泰国/越南菜品餐厅'}, {'id': 'B00140T3LA', 'direction': '西', 'businessarea': '天河北', 'address': '天河路208号(天河城广场7层)', 'poiweight': '0.36073', 'name': '必胜客', 'location': '113.322917,23.131823', 'distance': '127.262', 'tel': '020-85585008;020-85584001', 'type': '餐饮服务;快餐厅;必胜客'}, {'id': 'B0014247M2', 'direction': '西', 'businessarea': '天河北', 'address': '体育西路天河城购物中心5楼525', 'poiweight': '0.252775', 'name': 'deli&leisure悠乐餐厅宴会厅(天河城店)', 'location': '113.323125,23.131962', 'distance': '105.505', 'tel': [], 'type': '餐饮服务;中餐厅;中餐厅'}, {'id': 'B0014244Y9', 'direction': '西', 'businessarea': '天河北', 'address': '天河路208号天河城广场6层', 'poiweight': '0.472296', 'name': '肯德基(天河城)', 'location': '113.322905,23.132320', 'distance': '135.128', 'tel': '020-85586123;020-85590202', 'type': '餐饮服务;快餐厅;肯德基'}, {'id': 'B0FFJ9SZZU', 'direction': '西', 'businessarea': '天河北', 'address': '天河路208号天河城F5层508A', 'poiweight': '0.261409', 'name': '青悦·越南料理(天河城)', 'location': '113.322953,23.131862', 'distance': '123.249', 'tel': '020-38496206', 'type': '餐饮服务;外国餐厅;泰国/越南菜品餐厅'}, {'id': 'B0FFJ9SZYU', 'direction': '西北', 'businessarea': '天河北', 'address': '天河路208号天河城首层北门103C号铺', 'poiweight': '0.269966', 'name': '星巴克(天河城店)', 'location': '113.322751,23.132753', 'distance': '170.416', 'tel': '020-85590022;020-28892779;4000661779', 'type': '餐饮服务;咖啡厅;星巴克咖啡'}, {'id': 'B0FFJ9T001', 'direction': '西', 'businessarea': '天河北', 'address': '天河路208号天河城购物中心7层704-705室', 'poiweight': '0.233517', 'name': '港丽餐厅(天河城)', 'location': '113.322296,23.132278', 'distance': '194.126', 'tel': '020-38456151', 'type': '餐饮服务;中餐厅;广东菜(粤菜)|餐饮服务;中餐厅;特色/地方风味餐厅'}, {'id': 'B0FFGDZL9Z', 'direction': '西', 'businessarea': '天河北', 'address': '天河路208号天河城F7层702B', 'poiweight': '0.24537', 'name': '撒椒(天河城)', 'location': '113.323145,23.131926', 'distance': '103.397', 'tel': '020-85582821', 'type': '餐饮服务;中餐厅;四川菜(川菜)'}, {'id': 'B0FFJ9SZYT', 'direction': '西北', 'businessarea': '天河北', 'address': '天河路208号天河城广场1层1110', 'poiweight': '0.21026', 'name': '哈根达斯(天河城)', 'location': '113.322491,23.132755', 'distance': '193.463', 'tel': '020-85590922;4008201380', 'type': '餐饮服务;冷饮店;冷饮店'}, {'id': 'B0014247M3', 'direction': '西', 'businessarea': '天河北', 'address': '天河路208号天河城F5层508B', 'poiweight': '0.252775', 'name': '六六寿司铁板烧(天河城)', 'location': '113.322896,23.131743', 'distance': '130.494', 'tel': '020-85593366', 'type': '餐饮服务;外国餐厅;日本料理'}, {'id': 'B00141JFC4', 'direction': '西北', 'businessarea': '天河北', 'address': '天河路208粤海天河城大厦34层', 'poiweight': '0.347488', 'name': '荷兰王国驻广州总领事馆', 'location': '113.323176,23.132711', 'distance': '132.699', 'tel': '020-83130000;020-38132200', 'type': '政府机构及社会团体;外国机构;外国使领馆'}, {'id': 'B00141JFC5', 'direction': '西北', 'businessarea': '天河北', 'address': '天河路208粤海天河城大厦14层', 'poiweight': '0.369019', 'name': '德意志联邦共和国驻广州总领事馆', 'location': '113.323176,23.132711', 'distance': '132.699', 'tel': '020-83130000', 'type': '政府机构及社会团体;外国机构;外国使领馆'}, {'id': 'B00141JKB6', 'direction': '西北', 'businessarea': '天河北', 'address': '天河路208粤海天河城大厦2405室', 'poiweight': '0.276753', 'name': '阿根廷驻广州总领事馆', 'location': '113.323176,23.132711', 'distance': '132.699', 'tel': '020-38880328', 'type': '政府机构及社会团体;外国机构;外国使领馆'}, {'id': 'B00141JFD7', 'direction': '西北', 'businessarea': '天河北', 'address': '天河路208粤海天河城大厦2001室', 'poiweight': '0.306399', 'name': '墨西哥合众国驻广州总领事馆', 'location': '113.323176,23.132711', 'distance': '132.699', 'tel': '020-22081540;020-22081541', 'type': '政府机构及社会团体;外国机构;外国使领馆'}, {'id': 'B0FFG89IE6', 'direction': '南', 'businessarea': '天河北', 'address': '六运二街2号102(天河南商业街内)', 'poiweight': '0.283672', 'name': '益足健专业修脚(天河南分店)', 'location': '113.324302,23.130170', 'distance': '196.156', 'tel': '4008055585', 'type': '医疗保健服务;医疗保健服务场所;医疗保健服务场所'}]}, 'info': 'OK', 'infocode': '10000'}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>status</th>\n",
       "      <th>info</th>\n",
       "      <th>infocode</th>\n",
       "      <th>regeocode.roads</th>\n",
       "      <th>regeocode.roadinters</th>\n",
       "      <th>regeocode.formatted_address</th>\n",
       "      <th>regeocode.addressComponent.city</th>\n",
       "      <th>regeocode.addressComponent.province</th>\n",
       "      <th>regeocode.addressComponent.adcode</th>\n",
       "      <th>regeocode.addressComponent.district</th>\n",
       "      <th>...</th>\n",
       "      <th>regeocode.addressComponent.country</th>\n",
       "      <th>regeocode.addressComponent.township</th>\n",
       "      <th>regeocode.addressComponent.businessAreas</th>\n",
       "      <th>regeocode.addressComponent.building.name</th>\n",
       "      <th>regeocode.addressComponent.building.type</th>\n",
       "      <th>regeocode.addressComponent.neighborhood.name</th>\n",
       "      <th>regeocode.addressComponent.neighborhood.type</th>\n",
       "      <th>regeocode.addressComponent.citycode</th>\n",
       "      <th>regeocode.aois</th>\n",
       "      <th>regeocode.pois</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>OK</td>\n",
       "      <td>10000</td>\n",
       "      <td>[{'id': '020F49F011043607333', 'location': '11...</td>\n",
       "      <td>[{'second_name': '天河城大街', 'first_id': '020F49F...</td>\n",
       "      <td>广东省广州市天河区天河南街道体育东路49号天环广场</td>\n",
       "      <td>广州市</td>\n",
       "      <td>广东省</td>\n",
       "      <td>440106</td>\n",
       "      <td>天河区</td>\n",
       "      <td>...</td>\n",
       "      <td>中国</td>\n",
       "      <td>天河南街道</td>\n",
       "      <td>[{'location': '113.323294,23.139761', 'name': ...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>020</td>\n",
       "      <td>[{'area': '46379.383944', 'type': '060101', 'i...</td>\n",
       "      <td>[{'id': 'B0FFG1OCOA', 'direction': '东北', 'busi...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1 rows × 26 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "  status info infocode                                    regeocode.roads  \\\n",
       "0      1   OK    10000  [{'id': '020F49F011043607333', 'location': '11...   \n",
       "\n",
       "                                regeocode.roadinters  \\\n",
       "0  [{'second_name': '天河城大街', 'first_id': '020F49F...   \n",
       "\n",
       "  regeocode.formatted_address regeocode.addressComponent.city  \\\n",
       "0   广东省广州市天河区天河南街道体育东路49号天环广场                             广州市   \n",
       "\n",
       "  regeocode.addressComponent.province regeocode.addressComponent.adcode  \\\n",
       "0                                 广东省                            440106   \n",
       "\n",
       "  regeocode.addressComponent.district  ... regeocode.addressComponent.country  \\\n",
       "0                                 天河区  ...                                 中国   \n",
       "\n",
       "  regeocode.addressComponent.township  \\\n",
       "0                               天河南街道   \n",
       "\n",
       "            regeocode.addressComponent.businessAreas  \\\n",
       "0  [{'location': '113.323294,23.139761', 'name': ...   \n",
       "\n",
       "  regeocode.addressComponent.building.name  \\\n",
       "0                                       []   \n",
       "\n",
       "  regeocode.addressComponent.building.type  \\\n",
       "0                                       []   \n",
       "\n",
       "  regeocode.addressComponent.neighborhood.name  \\\n",
       "0                                           []   \n",
       "\n",
       "  regeocode.addressComponent.neighborhood.type  \\\n",
       "0                                           []   \n",
       "\n",
       "  regeocode.addressComponent.citycode  \\\n",
       "0                                 020   \n",
       "\n",
       "                                      regeocode.aois  \\\n",
       "0  [{'area': '46379.383944', 'type': '060101', 'i...   \n",
       "\n",
       "                                      regeocode.pois  \n",
       "0  [{'id': 'B0FFG1OCOA', 'direction': '东北', 'busi...  \n",
       "\n",
       "[1 rows x 26 columns]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# A-2 Extra 全部逆地理编码分析\n",
    "天环广场逆地理编码_all = regeocode(天环广场地理编码,extensions=\"all\")\n",
    "print(天环广场逆地理编码_all)\n",
    "df_天环广场逆地理编码_all = pd.json_normalize(天环广场逆地理编码_all)\n",
    "display(df_天环广场逆地理编码_all)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### A-3 全部逆地理编码分析细节\n",
    "\n",
    "1. 你给高德的地址和它给你的，是不是它大气的多？\n",
    "2. 这些细节哪些是有用的？假设用户给你一个地址，和一定的诉求，我们是不是可以推荐一些POI地址？"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>location</th>\n",
       "      <th>direction</th>\n",
       "      <th>name</th>\n",
       "      <th>distance</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>020F49F011043607333</td>\n",
       "      <td>113.324,23.132</td>\n",
       "      <td>东</td>\n",
       "      <td>天河城大街</td>\n",
       "      <td>64.2579</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>020F49F01104332433</td>\n",
       "      <td>113.324,23.1311</td>\n",
       "      <td>北</td>\n",
       "      <td>天河南一路</td>\n",
       "      <td>91.8733</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>020F49F01104365</td>\n",
       "      <td>113.324,23.1335</td>\n",
       "      <td>南</td>\n",
       "      <td>天河路</td>\n",
       "      <td>175.199</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                    id         location direction   name distance\n",
       "0  020F49F011043607333   113.324,23.132         东  天河城大街  64.2579\n",
       "1   020F49F01104332433  113.324,23.1311         北  天河南一路  91.8733\n",
       "2      020F49F01104365  113.324,23.1335         南    天河路  175.199"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>second_name</th>\n",
       "      <th>first_id</th>\n",
       "      <th>second_id</th>\n",
       "      <th>location</th>\n",
       "      <th>distance</th>\n",
       "      <th>first_name</th>\n",
       "      <th>direction</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>天河城大街</td>\n",
       "      <td>020F49F01104332433</td>\n",
       "      <td>020F49F011043607333</td>\n",
       "      <td>113.3234611,23.13111917</td>\n",
       "      <td>114.71</td>\n",
       "      <td>天河南一路</td>\n",
       "      <td>东北</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  second_name            first_id            second_id  \\\n",
       "0       天河城大街  020F49F01104332433  020F49F011043607333   \n",
       "\n",
       "                  location distance first_name direction  \n",
       "0  113.3234611,23.13111917   114.71      天河南一路        东北  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>area</th>\n",
       "      <th>type</th>\n",
       "      <th>id</th>\n",
       "      <th>location</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>distance</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>46379.383944</td>\n",
       "      <td>060101</td>\n",
       "      <td>B0FFG1OCOA</td>\n",
       "      <td>113.324701,23.132257</td>\n",
       "      <td>440106</td>\n",
       "      <td>天环广场</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "           area    type          id              location  adcode  name  \\\n",
       "0  46379.383944  060101  B0FFG1OCOA  113.324701,23.132257  440106  天环广场   \n",
       "\n",
       "  distance  \n",
       "0        0  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>direction</th>\n",
       "      <th>businessarea</th>\n",
       "      <th>address</th>\n",
       "      <th>poiweight</th>\n",
       "      <th>name</th>\n",
       "      <th>location</th>\n",
       "      <th>distance</th>\n",
       "      <th>tel</th>\n",
       "      <th>type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B0FFG1OCOA</td>\n",
       "      <td>东北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路218号</td>\n",
       "      <td>0.215345</td>\n",
       "      <td>天环广场</td>\n",
       "      <td>113.324701,23.132257</td>\n",
       "      <td>66.6091</td>\n",
       "      <td>020-22033061;020-29167328</td>\n",
       "      <td>购物服务;商场;购物中心</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>BV10017706</td>\n",
       "      <td>东南</td>\n",
       "      <td>天河北</td>\n",
       "      <td>APM线</td>\n",
       "      <td>0.6</td>\n",
       "      <td>天河南(地铁站)</td>\n",
       "      <td>113.324479,23.131384</td>\n",
       "      <td>69.0096</td>\n",
       "      <td>[]</td>\n",
       "      <td>交通设施服务;地铁站;地铁站</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B00141UE4E</td>\n",
       "      <td>西</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号</td>\n",
       "      <td>0.710269</td>\n",
       "      <td>天河城</td>\n",
       "      <td>113.322605,23.132333</td>\n",
       "      <td>164.86</td>\n",
       "      <td>020-85592818</td>\n",
       "      <td>购物服务;商场;购物中心</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B0FFH7LH2S</td>\n",
       "      <td>西北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号粤海天河城大厦2202-03单元</td>\n",
       "      <td>0.48</td>\n",
       "      <td>德意志银行(中国)有限公司(广州分行)</td>\n",
       "      <td>113.323127,23.132708</td>\n",
       "      <td>136.319</td>\n",
       "      <td>020-85104000</td>\n",
       "      <td>金融保险服务;银行;德意志银行</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B00140AP22</td>\n",
       "      <td>西北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城F1</td>\n",
       "      <td>0.532187</td>\n",
       "      <td>粤海天河城大厦</td>\n",
       "      <td>113.323151,23.132758</td>\n",
       "      <td>138.07</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;楼宇;商务写字楼</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B0FFG40DXI</td>\n",
       "      <td>西北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城2层201A</td>\n",
       "      <td>0.348364</td>\n",
       "      <td>中国建设银行(广州天河城支行)</td>\n",
       "      <td>113.322874,23.132671</td>\n",
       "      <td>154.933</td>\n",
       "      <td>020-85590672;020-85590675;95533</td>\n",
       "      <td>金融保险服务;银行;中国建设银行</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B0014244YY</td>\n",
       "      <td>西</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城4层电器行C01-C02铺(近体育中心)</td>\n",
       "      <td>0.354965</td>\n",
       "      <td>天河城百货国美电器</td>\n",
       "      <td>113.322966,23.131821</td>\n",
       "      <td>122.278</td>\n",
       "      <td>020-85596033;020-85592818</td>\n",
       "      <td>购物服务;家电电子卖场;国美</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B0FFFP158Y</td>\n",
       "      <td>西北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城东塔楼101首层部分及第2、3层</td>\n",
       "      <td>0.458448</td>\n",
       "      <td>平安银行(广州天河城支行)</td>\n",
       "      <td>113.322878,23.132864</td>\n",
       "      <td>167.006</td>\n",
       "      <td>020-38109585;020-38109659</td>\n",
       "      <td>金融保险服务;银行;平安银行</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B00140TBIM</td>\n",
       "      <td>西北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号粤海天河城大厦1层1号</td>\n",
       "      <td>0.369143</td>\n",
       "      <td>汇丰银行(广州天河城支行)</td>\n",
       "      <td>113.322969,23.133054</td>\n",
       "      <td>174.325</td>\n",
       "      <td>020-83131792;4008203090</td>\n",
       "      <td>金融保险服务;银行;汇丰银行</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B0FFGBYTDK</td>\n",
       "      <td>西北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号粤海天河城大厦4104-07室</td>\n",
       "      <td>0.194223</td>\n",
       "      <td>斯芬克国际艺术教育(天河区校区)</td>\n",
       "      <td>113.323142,23.132577</td>\n",
       "      <td>126.288</td>\n",
       "      <td>4000024006</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>B00140T3M7</td>\n",
       "      <td>西南</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河南一路24号</td>\n",
       "      <td>0.290461</td>\n",
       "      <td>广州市环境保护科学研究院</td>\n",
       "      <td>113.323318,23.130788</td>\n",
       "      <td>153.095</td>\n",
       "      <td>020-85515817;020-87504557</td>\n",
       "      <td>科教文化服务;科研机构;科研机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>B0FFFP19NH</td>\n",
       "      <td>西南</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河南街道天河南一路24号</td>\n",
       "      <td>0.172914</td>\n",
       "      <td>广州市环境保护宣传教育中心</td>\n",
       "      <td>113.323092,23.130888</td>\n",
       "      <td>158.865</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>B0FFFALC0D</td>\n",
       "      <td>东南</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河南一路六运二街1号</td>\n",
       "      <td>0.199144</td>\n",
       "      <td>时尚钢琴(天河南店)</td>\n",
       "      <td>113.324857,23.130442</td>\n",
       "      <td>180.212</td>\n",
       "      <td>020-85584855</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>B00140JDWH</td>\n",
       "      <td>西</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城7层706-708号</td>\n",
       "      <td>0.25401</td>\n",
       "      <td>稻香(天河城)</td>\n",
       "      <td>113.322604,23.132348</td>\n",
       "      <td>165.432</td>\n",
       "      <td>020-85590808</td>\n",
       "      <td>餐饮服务;中餐厅;广东菜(粤菜)|餐饮服务;中餐厅;特色/地方风味餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>B00141N9OS</td>\n",
       "      <td>西</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城大厦7层</td>\n",
       "      <td>0.324546</td>\n",
       "      <td>俏江南(天河城)</td>\n",
       "      <td>113.322762,23.131645</td>\n",
       "      <td>146.021</td>\n",
       "      <td>020-85598550;4001517517</td>\n",
       "      <td>餐饮服务;中餐厅;四川菜(川菜)</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B0014244Y3</td>\n",
       "      <td>西</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城F7层701</td>\n",
       "      <td>0.341475</td>\n",
       "      <td>泰满冠泰国菜馆(天河城)</td>\n",
       "      <td>113.323124,23.132188</td>\n",
       "      <td>109.418</td>\n",
       "      <td>020-85591800;020-85591080</td>\n",
       "      <td>餐饮服务;外国餐厅;泰国/越南菜品餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>B00140T3LA</td>\n",
       "      <td>西</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号(天河城广场7层)</td>\n",
       "      <td>0.36073</td>\n",
       "      <td>必胜客</td>\n",
       "      <td>113.322917,23.131823</td>\n",
       "      <td>127.262</td>\n",
       "      <td>020-85585008;020-85584001</td>\n",
       "      <td>餐饮服务;快餐厅;必胜客</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>B0014247M2</td>\n",
       "      <td>西</td>\n",
       "      <td>天河北</td>\n",
       "      <td>体育西路天河城购物中心5楼525</td>\n",
       "      <td>0.252775</td>\n",
       "      <td>deli&amp;leisure悠乐餐厅宴会厅(天河城店)</td>\n",
       "      <td>113.323125,23.131962</td>\n",
       "      <td>105.505</td>\n",
       "      <td>[]</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>B0014244Y9</td>\n",
       "      <td>西</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城广场6层</td>\n",
       "      <td>0.472296</td>\n",
       "      <td>肯德基(天河城)</td>\n",
       "      <td>113.322905,23.132320</td>\n",
       "      <td>135.128</td>\n",
       "      <td>020-85586123;020-85590202</td>\n",
       "      <td>餐饮服务;快餐厅;肯德基</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>B0FFJ9SZZU</td>\n",
       "      <td>西</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城F5层508A</td>\n",
       "      <td>0.261409</td>\n",
       "      <td>青悦·越南料理(天河城)</td>\n",
       "      <td>113.322953,23.131862</td>\n",
       "      <td>123.249</td>\n",
       "      <td>020-38496206</td>\n",
       "      <td>餐饮服务;外国餐厅;泰国/越南菜品餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>B0FFJ9SZYU</td>\n",
       "      <td>西北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城首层北门103C号铺</td>\n",
       "      <td>0.269966</td>\n",
       "      <td>星巴克(天河城店)</td>\n",
       "      <td>113.322751,23.132753</td>\n",
       "      <td>170.416</td>\n",
       "      <td>020-85590022;020-28892779;4000661779</td>\n",
       "      <td>餐饮服务;咖啡厅;星巴克咖啡</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>B0FFJ9T001</td>\n",
       "      <td>西</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城购物中心7层704-705室</td>\n",
       "      <td>0.233517</td>\n",
       "      <td>港丽餐厅(天河城)</td>\n",
       "      <td>113.322296,23.132278</td>\n",
       "      <td>194.126</td>\n",
       "      <td>020-38456151</td>\n",
       "      <td>餐饮服务;中餐厅;广东菜(粤菜)|餐饮服务;中餐厅;特色/地方风味餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>B0FFGDZL9Z</td>\n",
       "      <td>西</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城F7层702B</td>\n",
       "      <td>0.24537</td>\n",
       "      <td>撒椒(天河城)</td>\n",
       "      <td>113.323145,23.131926</td>\n",
       "      <td>103.397</td>\n",
       "      <td>020-85582821</td>\n",
       "      <td>餐饮服务;中餐厅;四川菜(川菜)</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>B0FFJ9SZYT</td>\n",
       "      <td>西北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城广场1层1110</td>\n",
       "      <td>0.21026</td>\n",
       "      <td>哈根达斯(天河城)</td>\n",
       "      <td>113.322491,23.132755</td>\n",
       "      <td>193.463</td>\n",
       "      <td>020-85590922;4008201380</td>\n",
       "      <td>餐饮服务;冷饮店;冷饮店</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>B0014247M3</td>\n",
       "      <td>西</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208号天河城F5层508B</td>\n",
       "      <td>0.252775</td>\n",
       "      <td>六六寿司铁板烧(天河城)</td>\n",
       "      <td>113.322896,23.131743</td>\n",
       "      <td>130.494</td>\n",
       "      <td>020-85593366</td>\n",
       "      <td>餐饮服务;外国餐厅;日本料理</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>B00141JFC4</td>\n",
       "      <td>西北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208粤海天河城大厦34层</td>\n",
       "      <td>0.347488</td>\n",
       "      <td>荷兰王国驻广州总领事馆</td>\n",
       "      <td>113.323176,23.132711</td>\n",
       "      <td>132.699</td>\n",
       "      <td>020-83130000;020-38132200</td>\n",
       "      <td>政府机构及社会团体;外国机构;外国使领馆</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>B00141JFC5</td>\n",
       "      <td>西北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208粤海天河城大厦14层</td>\n",
       "      <td>0.369019</td>\n",
       "      <td>德意志联邦共和国驻广州总领事馆</td>\n",
       "      <td>113.323176,23.132711</td>\n",
       "      <td>132.699</td>\n",
       "      <td>020-83130000</td>\n",
       "      <td>政府机构及社会团体;外国机构;外国使领馆</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>B00141JKB6</td>\n",
       "      <td>西北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208粤海天河城大厦2405室</td>\n",
       "      <td>0.276753</td>\n",
       "      <td>阿根廷驻广州总领事馆</td>\n",
       "      <td>113.323176,23.132711</td>\n",
       "      <td>132.699</td>\n",
       "      <td>020-38880328</td>\n",
       "      <td>政府机构及社会团体;外国机构;外国使领馆</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>B00141JFD7</td>\n",
       "      <td>西北</td>\n",
       "      <td>天河北</td>\n",
       "      <td>天河路208粤海天河城大厦2001室</td>\n",
       "      <td>0.306399</td>\n",
       "      <td>墨西哥合众国驻广州总领事馆</td>\n",
       "      <td>113.323176,23.132711</td>\n",
       "      <td>132.699</td>\n",
       "      <td>020-22081540;020-22081541</td>\n",
       "      <td>政府机构及社会团体;外国机构;外国使领馆</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>B0FFG89IE6</td>\n",
       "      <td>南</td>\n",
       "      <td>天河北</td>\n",
       "      <td>六运二街2号102(天河南商业街内)</td>\n",
       "      <td>0.283672</td>\n",
       "      <td>益足健专业修脚(天河南分店)</td>\n",
       "      <td>113.324302,23.130170</td>\n",
       "      <td>196.156</td>\n",
       "      <td>4008055585</td>\n",
       "      <td>医疗保健服务;医疗保健服务场所;医疗保健服务场所</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            id direction businessarea                         address  \\\n",
       "0   B0FFG1OCOA        东北          天河北                         天河路218号   \n",
       "1   BV10017706        东南          天河北                            APM线   \n",
       "2   B00141UE4E         西          天河北                         天河路208号   \n",
       "3   B0FFH7LH2S        西北          天河北         天河路208号粤海天河城大厦2202-03单元   \n",
       "4   B00140AP22        西北          天河北                    天河路208号天河城F1   \n",
       "5   B0FFG40DXI        西北          天河北                天河路208号天河城2层201A   \n",
       "6   B0014244YY         西          天河北  天河路208号天河城4层电器行C01-C02铺(近体育中心)   \n",
       "7   B0FFFP158Y        西北          天河北      天河路208号天河城东塔楼101首层部分及第2、3层   \n",
       "8   B00140TBIM        西北          天河北              天河路208号粤海天河城大厦1层1号   \n",
       "9   B0FFGBYTDK        西北          天河北          天河路208号粤海天河城大厦4104-07室   \n",
       "10  B00140T3M7        西南          天河北                        天河南一路24号   \n",
       "11  B0FFFP19NH        西南          天河北                   天河南街道天河南一路24号   \n",
       "12  B0FFFALC0D        东南          天河北                     天河南一路六运二街1号   \n",
       "13  B00140JDWH         西          天河北            天河路208号天河城7层706-708号   \n",
       "14  B00141N9OS         西          天河北                  天河路208号天河城大厦7层   \n",
       "15  B0014244Y3         西          天河北                天河路208号天河城F7层701   \n",
       "16  B00140T3LA         西          天河北                天河路208号(天河城广场7层)   \n",
       "17  B0014247M2         西          天河北                体育西路天河城购物中心5楼525   \n",
       "18  B0014244Y9         西          天河北                  天河路208号天河城广场6层   \n",
       "19  B0FFJ9SZZU         西          天河北               天河路208号天河城F5层508A   \n",
       "20  B0FFJ9SZYU        西北          天河北            天河路208号天河城首层北门103C号铺   \n",
       "21  B0FFJ9T001         西          天河北        天河路208号天河城购物中心7层704-705室   \n",
       "22  B0FFGDZL9Z         西          天河北               天河路208号天河城F7层702B   \n",
       "23  B0FFJ9SZYT        西北          天河北              天河路208号天河城广场1层1110   \n",
       "24  B0014247M3         西          天河北               天河路208号天河城F5层508B   \n",
       "25  B00141JFC4        西北          天河北                天河路208粤海天河城大厦34层   \n",
       "26  B00141JFC5        西北          天河北                天河路208粤海天河城大厦14层   \n",
       "27  B00141JKB6        西北          天河北              天河路208粤海天河城大厦2405室   \n",
       "28  B00141JFD7        西北          天河北              天河路208粤海天河城大厦2001室   \n",
       "29  B0FFG89IE6         南          天河北              六运二街2号102(天河南商业街内)   \n",
       "\n",
       "   poiweight                       name              location distance  \\\n",
       "0   0.215345                       天环广场  113.324701,23.132257  66.6091   \n",
       "1        0.6                   天河南(地铁站)  113.324479,23.131384  69.0096   \n",
       "2   0.710269                        天河城  113.322605,23.132333   164.86   \n",
       "3       0.48        德意志银行(中国)有限公司(广州分行)  113.323127,23.132708  136.319   \n",
       "4   0.532187                    粤海天河城大厦  113.323151,23.132758   138.07   \n",
       "5   0.348364            中国建设银行(广州天河城支行)  113.322874,23.132671  154.933   \n",
       "6   0.354965                  天河城百货国美电器  113.322966,23.131821  122.278   \n",
       "7   0.458448              平安银行(广州天河城支行)  113.322878,23.132864  167.006   \n",
       "8   0.369143              汇丰银行(广州天河城支行)  113.322969,23.133054  174.325   \n",
       "9   0.194223           斯芬克国际艺术教育(天河区校区)  113.323142,23.132577  126.288   \n",
       "10  0.290461               广州市环境保护科学研究院  113.323318,23.130788  153.095   \n",
       "11  0.172914              广州市环境保护宣传教育中心  113.323092,23.130888  158.865   \n",
       "12  0.199144                 时尚钢琴(天河南店)  113.324857,23.130442  180.212   \n",
       "13   0.25401                    稻香(天河城)  113.322604,23.132348  165.432   \n",
       "14  0.324546                   俏江南(天河城)  113.322762,23.131645  146.021   \n",
       "15  0.341475               泰满冠泰国菜馆(天河城)  113.323124,23.132188  109.418   \n",
       "16   0.36073                        必胜客  113.322917,23.131823  127.262   \n",
       "17  0.252775  deli&leisure悠乐餐厅宴会厅(天河城店)  113.323125,23.131962  105.505   \n",
       "18  0.472296                   肯德基(天河城)  113.322905,23.132320  135.128   \n",
       "19  0.261409               青悦·越南料理(天河城)  113.322953,23.131862  123.249   \n",
       "20  0.269966                  星巴克(天河城店)  113.322751,23.132753  170.416   \n",
       "21  0.233517                  港丽餐厅(天河城)  113.322296,23.132278  194.126   \n",
       "22   0.24537                    撒椒(天河城)  113.323145,23.131926  103.397   \n",
       "23   0.21026                  哈根达斯(天河城)  113.322491,23.132755  193.463   \n",
       "24  0.252775               六六寿司铁板烧(天河城)  113.322896,23.131743  130.494   \n",
       "25  0.347488                荷兰王国驻广州总领事馆  113.323176,23.132711  132.699   \n",
       "26  0.369019            德意志联邦共和国驻广州总领事馆  113.323176,23.132711  132.699   \n",
       "27  0.276753                 阿根廷驻广州总领事馆  113.323176,23.132711  132.699   \n",
       "28  0.306399              墨西哥合众国驻广州总领事馆  113.323176,23.132711  132.699   \n",
       "29  0.283672             益足健专业修脚(天河南分店)  113.324302,23.130170  196.156   \n",
       "\n",
       "                                     tel                                 type  \n",
       "0              020-22033061;020-29167328                         购物服务;商场;购物中心  \n",
       "1                                     []                       交通设施服务;地铁站;地铁站  \n",
       "2                           020-85592818                         购物服务;商场;购物中心  \n",
       "3                           020-85104000                      金融保险服务;银行;德意志银行  \n",
       "4                                     []                        商务住宅;楼宇;商务写字楼  \n",
       "5        020-85590672;020-85590675;95533                     金融保险服务;银行;中国建设银行  \n",
       "6              020-85596033;020-85592818                       购物服务;家电电子卖场;国美  \n",
       "7              020-38109585;020-38109659                       金融保险服务;银行;平安银行  \n",
       "8                020-83131792;4008203090                       金融保险服务;银行;汇丰银行  \n",
       "9                             4000024006                 科教文化服务;科教文化场所;科教文化场所  \n",
       "10             020-85515817;020-87504557                     科教文化服务;科研机构;科研机构  \n",
       "11                                    []                 科教文化服务;科教文化场所;科教文化场所  \n",
       "12                          020-85584855                     科教文化服务;培训机构;培训机构  \n",
       "13                          020-85590808  餐饮服务;中餐厅;广东菜(粤菜)|餐饮服务;中餐厅;特色/地方风味餐厅  \n",
       "14               020-85598550;4001517517                     餐饮服务;中餐厅;四川菜(川菜)  \n",
       "15             020-85591800;020-85591080                  餐饮服务;外国餐厅;泰国/越南菜品餐厅  \n",
       "16             020-85585008;020-85584001                         餐饮服务;快餐厅;必胜客  \n",
       "17                                    []                         餐饮服务;中餐厅;中餐厅  \n",
       "18             020-85586123;020-85590202                         餐饮服务;快餐厅;肯德基  \n",
       "19                          020-38496206                  餐饮服务;外国餐厅;泰国/越南菜品餐厅  \n",
       "20  020-85590022;020-28892779;4000661779                       餐饮服务;咖啡厅;星巴克咖啡  \n",
       "21                          020-38456151  餐饮服务;中餐厅;广东菜(粤菜)|餐饮服务;中餐厅;特色/地方风味餐厅  \n",
       "22                          020-85582821                     餐饮服务;中餐厅;四川菜(川菜)  \n",
       "23               020-85590922;4008201380                         餐饮服务;冷饮店;冷饮店  \n",
       "24                          020-85593366                       餐饮服务;外国餐厅;日本料理  \n",
       "25             020-83130000;020-38132200                 政府机构及社会团体;外国机构;外国使领馆  \n",
       "26                          020-83130000                 政府机构及社会团体;外国机构;外国使领馆  \n",
       "27                          020-38880328                 政府机构及社会团体;外国机构;外国使领馆  \n",
       "28             020-22081540;020-22081541                 政府机构及社会团体;外国机构;外国使领馆  \n",
       "29                            4008055585             医疗保健服务;医疗保健服务场所;医疗保健服务场所  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# A-3 分析细节\n",
    "roads = pd.json_normalize(天环广场逆地理编码_all['regeocode']['roads'])\n",
    "roadinters = pd.json_normalize(天环广场逆地理编码_all['regeocode']['roadinters'])\n",
    "aois = pd.json_normalize(天环广场逆地理编码_all['regeocode']['aois'])\n",
    "pois = pd.json_normalize(天环广场逆地理编码_all['regeocode']['pois'])\n",
    "display(roads,roadinters,aois,pois)\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 路径规划（点到点的过程）  "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 步行路径规划（API基本流程）（代码B）"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### B-1 准备base url、params、response.json（） "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "# B-1 准备base url、params、response.json（） \n",
    "def walking(origin,destination,sig=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/direction/walking?parameters'\n",
    "    params={\n",
    "        'key':zoe_key,\n",
    "        'origin':origin,\n",
    "        'destination':destination,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### B-2 准备walking 参数\n",
    "\n",
    "请同学们尝试从A-3细节中获取的某两个location，尝试步行路径规划（起点）🙅----->（终点）🙅‍"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(起点)天环广场_location: 113.324156,23.131929 (终点)圣心大教堂_location: 113.260084,23.114570\n"
     ]
    }
   ],
   "source": [
    "# B-2 准备walking 参数\n",
    "圣心大教堂 = geocode('广东省广州市越秀区一德路旧部前56号圣心大教堂')\n",
    "圣心大教堂_location = 圣心大教堂['geocodes'][0]['location']\n",
    "天环广场_location = 天环广场['geocodes'][0]['location']\n",
    "print(\"(起点)天环广场_location:\",天环广场_location,\"(终点)圣心大教堂_location:\",圣心大教堂_location)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### B-3 实现步行路径规划"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>instruction</th>\n",
       "      <th>orientation</th>\n",
       "      <th>road</th>\n",
       "      <th>distance</th>\n",
       "      <th>duration</th>\n",
       "      <th>polyline</th>\n",
       "      <th>action</th>\n",
       "      <th>assistant_action</th>\n",
       "      <th>walk_type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>步行64米右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>64</td>\n",
       "      <td>51</td>\n",
       "      <td>113.324041,23.131897;113.324071,23.131801;113....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>步行156米右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>156</td>\n",
       "      <td>125</td>\n",
       "      <td>113.324102,23.131315;113.323459,23.13112;113.3...</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>步行29米左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>29</td>\n",
       "      <td>23</td>\n",
       "      <td>113.3226,23.131155;113.3226,23.131302;113.3226...</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>步行199米左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>199</td>\n",
       "      <td>159</td>\n",
       "      <td>113.322517,23.131354;113.322517,23.13112;113.3...</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>向西步行44米左转</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>44</td>\n",
       "      <td>35</td>\n",
       "      <td>113.32122,23.131493;113.320786,23.131502</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>沿天河街向南步行111米右转</td>\n",
       "      <td>南</td>\n",
       "      <td>天河街</td>\n",
       "      <td>111</td>\n",
       "      <td>89</td>\n",
       "      <td>113.320781,23.131502;113.320781,23.131241;113....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>沿广利路向西步行547米左转</td>\n",
       "      <td>西</td>\n",
       "      <td>广利路</td>\n",
       "      <td>547</td>\n",
       "      <td>438</td>\n",
       "      <td>113.320751,23.130477;113.320347,23.130395;113....</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>沿广和路向西步行27米左转</td>\n",
       "      <td>西</td>\n",
       "      <td>广和路</td>\n",
       "      <td>27</td>\n",
       "      <td>22</td>\n",
       "      <td>113.315846,23.13043;113.315699,23.13043;113.31...</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>沿广州大道中辅路向南步行45米右转</td>\n",
       "      <td>南</td>\n",
       "      <td>广州大道中辅路</td>\n",
       "      <td>45</td>\n",
       "      <td>36</td>\n",
       "      <td>113.315582,23.130447;113.315595,23.130039</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>步行49米向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>49</td>\n",
       "      <td>39</td>\n",
       "      <td>113.315595,23.130035;113.315117,23.130069</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>沿广州大道中辅路向南步行8米右转</td>\n",
       "      <td>南</td>\n",
       "      <td>广州大道中辅路</td>\n",
       "      <td>8</td>\n",
       "      <td>6</td>\n",
       "      <td>113.315109,23.130069;113.315109,23.13</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>沿中山一立交步行12米向右前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>中山一立交</td>\n",
       "      <td>12</td>\n",
       "      <td>10</td>\n",
       "      <td>113.315109,23.129996;113.315022,23.129935</td>\n",
       "      <td>向右前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>沿东风东路向西北步行5米左转</td>\n",
       "      <td>西北</td>\n",
       "      <td>东风东路</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>113.315017,23.129931;113.314965,23.129957</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>步行78米右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>78</td>\n",
       "      <td>62</td>\n",
       "      <td>113.314961,23.129952;113.314753,23.129596;113....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>沿中山一路向西步行1230米右转</td>\n",
       "      <td>西</td>\n",
       "      <td>中山一路</td>\n",
       "      <td>1230</td>\n",
       "      <td>984</td>\n",
       "      <td>113.314709,23.129293;113.314423,23.129345;113....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>步行29米左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>29</td>\n",
       "      <td>23</td>\n",
       "      <td>113.303411,23.125755;113.303338,23.126016</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>沿中山一路向西步行666米右转</td>\n",
       "      <td>西</td>\n",
       "      <td>中山一路</td>\n",
       "      <td>666</td>\n",
       "      <td>533</td>\n",
       "      <td>113.303333,23.126016;113.303325,23.126011;113....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>沿农林上路向北步行36米左转</td>\n",
       "      <td>北</td>\n",
       "      <td>农林上路</td>\n",
       "      <td>36</td>\n",
       "      <td>29</td>\n",
       "      <td>113.296936,23.124536;113.296988,23.124861</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>步行423米右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>423</td>\n",
       "      <td>338</td>\n",
       "      <td>113.296988,23.124861;113.296862,23.124878;113....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>沿东华北路向西南步行534米直行</td>\n",
       "      <td>西南</td>\n",
       "      <td>东华北路</td>\n",
       "      <td>534</td>\n",
       "      <td>427</td>\n",
       "      <td>113.294162,23.123876;113.294136,23.123867;113....</td>\n",
       "      <td>直行</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>步行47米右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>47</td>\n",
       "      <td>38</td>\n",
       "      <td>113.28951,23.121597;113.289062,23.121506</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>沿东华南路步行22米向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>东华南路</td>\n",
       "      <td>22</td>\n",
       "      <td>18</td>\n",
       "      <td>113.289062,23.121502;113.289019,23.12158;113.2...</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>沿东华东路向西步行277米直行</td>\n",
       "      <td>西</td>\n",
       "      <td>东华东路</td>\n",
       "      <td>277</td>\n",
       "      <td>222</td>\n",
       "      <td>113.288924,23.121654;113.288646,23.121675;113....</td>\n",
       "      <td>直行</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>沿东华西路向西步行839米直行</td>\n",
       "      <td>西</td>\n",
       "      <td>东华西路</td>\n",
       "      <td>839</td>\n",
       "      <td>671</td>\n",
       "      <td>113.286198,23.121914;113.286059,23.121931;113....</td>\n",
       "      <td>直行</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>沿文明路向西步行947米直行</td>\n",
       "      <td>西</td>\n",
       "      <td>文明路</td>\n",
       "      <td>947</td>\n",
       "      <td>758</td>\n",
       "      <td>113.278051,23.122678;113.277513,23.122678;113....</td>\n",
       "      <td>直行</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>沿大南路向西步行505米左转</td>\n",
       "      <td>西</td>\n",
       "      <td>大南路</td>\n",
       "      <td>505</td>\n",
       "      <td>404</td>\n",
       "      <td>113.26911,23.120903;113.268963,23.120838;113.2...</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>沿广州起义路向南步行133米向右前方行走</td>\n",
       "      <td>南</td>\n",
       "      <td>广州起义路</td>\n",
       "      <td>133</td>\n",
       "      <td>106</td>\n",
       "      <td>113.264418,23.119614;113.264427,23.119171;113....</td>\n",
       "      <td>向右前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>沿大德路向西步行181米左转</td>\n",
       "      <td>西</td>\n",
       "      <td>大德路</td>\n",
       "      <td>181</td>\n",
       "      <td>145</td>\n",
       "      <td>113.264297,23.118407;113.264271,23.118355;113....</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>沿解放南路向南步行208米</td>\n",
       "      <td>南</td>\n",
       "      <td>解放南路</td>\n",
       "      <td>208</td>\n",
       "      <td>166</td>\n",
       "      <td>113.262617,23.118151;113.262604,23.117661;113....</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>沿解放南路向南步行224米右转</td>\n",
       "      <td>南</td>\n",
       "      <td>解放南路</td>\n",
       "      <td>224</td>\n",
       "      <td>179</td>\n",
       "      <td>113.26276,23.116254;113.262743,23.116141;113.2...</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>沿一德路向西步行172米向右前方行走</td>\n",
       "      <td>西</td>\n",
       "      <td>一德路</td>\n",
       "      <td>172</td>\n",
       "      <td>138</td>\n",
       "      <td>113.263021,23.114249;113.261845,23.113876;113....</td>\n",
       "      <td>向右前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>沿一德路向西步行53米右转</td>\n",
       "      <td>西</td>\n",
       "      <td>一德路</td>\n",
       "      <td>53</td>\n",
       "      <td>42</td>\n",
       "      <td>113.261458,23.113689;113.261241,23.113659;113....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>沿白米巷向北步行120米左转</td>\n",
       "      <td>北</td>\n",
       "      <td>白米巷</td>\n",
       "      <td>120</td>\n",
       "      <td>96</td>\n",
       "      <td>113.260946,23.113585;113.260911,23.113681;113....</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>向西步行64米到达目的地</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>64</td>\n",
       "      <td>51</td>\n",
       "      <td>113.260864,23.114666;113.260777,23.114657;113....</td>\n",
       "      <td>[]</td>\n",
       "      <td>到达目的地</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "             instruction orientation     road distance duration  \\\n",
       "0                步行64米右转          []       []       64       51   \n",
       "1               步行156米右转          []       []      156      125   \n",
       "2                步行29米左转          []       []       29       23   \n",
       "3               步行199米左转          []       []      199      159   \n",
       "4              向西步行44米左转           西       []       44       35   \n",
       "5         沿天河街向南步行111米右转           南      天河街      111       89   \n",
       "6         沿广利路向西步行547米左转           西      广利路      547      438   \n",
       "7          沿广和路向西步行27米左转           西      广和路       27       22   \n",
       "8      沿广州大道中辅路向南步行45米右转           南  广州大道中辅路       45       36   \n",
       "9            步行49米向左前方行走          []       []       49       39   \n",
       "10      沿广州大道中辅路向南步行8米右转           南  广州大道中辅路        8        6   \n",
       "11     沿中山一立交步行12米向右前方行走          []    中山一立交       12       10   \n",
       "12        沿东风东路向西北步行5米左转          西北     东风东路        5        4   \n",
       "13               步行78米右转          []       []       78       62   \n",
       "14      沿中山一路向西步行1230米右转           西     中山一路     1230      984   \n",
       "15               步行29米左转          []       []       29       23   \n",
       "16       沿中山一路向西步行666米右转           西     中山一路      666      533   \n",
       "17        沿农林上路向北步行36米左转           北     农林上路       36       29   \n",
       "18              步行423米右转          []       []      423      338   \n",
       "19      沿东华北路向西南步行534米直行          西南     东华北路      534      427   \n",
       "20               步行47米右转          []       []       47       38   \n",
       "21      沿东华南路步行22米向左前方行走          []     东华南路       22       18   \n",
       "22       沿东华东路向西步行277米直行           西     东华东路      277      222   \n",
       "23       沿东华西路向西步行839米直行           西     东华西路      839      671   \n",
       "24        沿文明路向西步行947米直行           西      文明路      947      758   \n",
       "25        沿大南路向西步行505米左转           西      大南路      505      404   \n",
       "26  沿广州起义路向南步行133米向右前方行走           南    广州起义路      133      106   \n",
       "27        沿大德路向西步行181米左转           西      大德路      181      145   \n",
       "28         沿解放南路向南步行208米           南     解放南路      208      166   \n",
       "29       沿解放南路向南步行224米右转           南     解放南路      224      179   \n",
       "30    沿一德路向西步行172米向右前方行走           西      一德路      172      138   \n",
       "31         沿一德路向西步行53米右转           西      一德路       53       42   \n",
       "32        沿白米巷向北步行120米左转           北      白米巷      120       96   \n",
       "33          向西步行64米到达目的地           西       []       64       51   \n",
       "\n",
       "                                             polyline  action  \\\n",
       "0   113.324041,23.131897;113.324071,23.131801;113....      右转   \n",
       "1   113.324102,23.131315;113.323459,23.13112;113.3...      右转   \n",
       "2   113.3226,23.131155;113.3226,23.131302;113.3226...      左转   \n",
       "3   113.322517,23.131354;113.322517,23.13112;113.3...      左转   \n",
       "4            113.32122,23.131493;113.320786,23.131502      左转   \n",
       "5   113.320781,23.131502;113.320781,23.131241;113....      右转   \n",
       "6   113.320751,23.130477;113.320347,23.130395;113....      左转   \n",
       "7   113.315846,23.13043;113.315699,23.13043;113.31...      左转   \n",
       "8           113.315582,23.130447;113.315595,23.130039      右转   \n",
       "9           113.315595,23.130035;113.315117,23.130069  向左前方行走   \n",
       "10              113.315109,23.130069;113.315109,23.13      右转   \n",
       "11          113.315109,23.129996;113.315022,23.129935  向右前方行走   \n",
       "12          113.315017,23.129931;113.314965,23.129957      左转   \n",
       "13  113.314961,23.129952;113.314753,23.129596;113....      右转   \n",
       "14  113.314709,23.129293;113.314423,23.129345;113....      右转   \n",
       "15          113.303411,23.125755;113.303338,23.126016      左转   \n",
       "16  113.303333,23.126016;113.303325,23.126011;113....      右转   \n",
       "17          113.296936,23.124536;113.296988,23.124861      左转   \n",
       "18  113.296988,23.124861;113.296862,23.124878;113....      右转   \n",
       "19  113.294162,23.123876;113.294136,23.123867;113....      直行   \n",
       "20           113.28951,23.121597;113.289062,23.121506      右转   \n",
       "21  113.289062,23.121502;113.289019,23.12158;113.2...  向左前方行走   \n",
       "22  113.288924,23.121654;113.288646,23.121675;113....      直行   \n",
       "23  113.286198,23.121914;113.286059,23.121931;113....      直行   \n",
       "24  113.278051,23.122678;113.277513,23.122678;113....      直行   \n",
       "25  113.26911,23.120903;113.268963,23.120838;113.2...      左转   \n",
       "26  113.264418,23.119614;113.264427,23.119171;113....  向右前方行走   \n",
       "27  113.264297,23.118407;113.264271,23.118355;113....      左转   \n",
       "28  113.262617,23.118151;113.262604,23.117661;113....      []   \n",
       "29  113.26276,23.116254;113.262743,23.116141;113.2...      右转   \n",
       "30  113.263021,23.114249;113.261845,23.113876;113....  向右前方行走   \n",
       "31  113.261458,23.113689;113.261241,23.113659;113....      右转   \n",
       "32  113.260946,23.113585;113.260911,23.113681;113....      左转   \n",
       "33  113.260864,23.114666;113.260777,23.114657;113....      []   \n",
       "\n",
       "   assistant_action walk_type  \n",
       "0                []         0  \n",
       "1                []         0  \n",
       "2                []         3  \n",
       "3                []         5  \n",
       "4                []         0  \n",
       "5                []         0  \n",
       "6                []         0  \n",
       "7                []         0  \n",
       "8                []         0  \n",
       "9                []         1  \n",
       "10               []         0  \n",
       "11               []         0  \n",
       "12               []         0  \n",
       "13               []         1  \n",
       "14               []         0  \n",
       "15               []         1  \n",
       "16               []         0  \n",
       "17               []         0  \n",
       "18               []         5  \n",
       "19               []         0  \n",
       "20               []         1  \n",
       "21               []         0  \n",
       "22               []         0  \n",
       "23               []         0  \n",
       "24               []         0  \n",
       "25               []         0  \n",
       "26               []         0  \n",
       "27               []         0  \n",
       "28               []         0  \n",
       "29               []         0  \n",
       "30               []         0  \n",
       "31               []         0  \n",
       "32               []         0  \n",
       "33            到达目的地         0  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/plain": [
       "0                  步行64米右转\n",
       "1                 步行156米右转\n",
       "2                  步行29米左转\n",
       "3                 步行199米左转\n",
       "4                向西步行44米左转\n",
       "5           沿天河街向南步行111米右转\n",
       "6           沿广利路向西步行547米左转\n",
       "7            沿广和路向西步行27米左转\n",
       "8        沿广州大道中辅路向南步行45米右转\n",
       "9              步行49米向左前方行走\n",
       "10        沿广州大道中辅路向南步行8米右转\n",
       "11       沿中山一立交步行12米向右前方行走\n",
       "12          沿东风东路向西北步行5米左转\n",
       "13                 步行78米右转\n",
       "14        沿中山一路向西步行1230米右转\n",
       "15                 步行29米左转\n",
       "16         沿中山一路向西步行666米右转\n",
       "17          沿农林上路向北步行36米左转\n",
       "18                步行423米右转\n",
       "19        沿东华北路向西南步行534米直行\n",
       "20                 步行47米右转\n",
       "21        沿东华南路步行22米向左前方行走\n",
       "22         沿东华东路向西步行277米直行\n",
       "23         沿东华西路向西步行839米直行\n",
       "24          沿文明路向西步行947米直行\n",
       "25          沿大南路向西步行505米左转\n",
       "26    沿广州起义路向南步行133米向右前方行走\n",
       "27          沿大德路向西步行181米左转\n",
       "28           沿解放南路向南步行208米\n",
       "29         沿解放南路向南步行224米右转\n",
       "30      沿一德路向西步行172米向右前方行走\n",
       "31           沿一德路向西步行53米右转\n",
       "32          沿白米巷向北步行120米左转\n",
       "33            向西步行64米到达目的地\n",
       "Name: instruction, dtype: object"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# B-3 路径规划\n",
    "天环广场_圣心大教堂 = walking(天环广场_location,圣心大教堂_location)\n",
    "df_步行路径规划 = pd.json_normalize(天环广场_圣心大教堂[\"route\"][\"paths\"][0]['steps'])\n",
    "display(df_步行路径规划)\n",
    "df_步行路径规划[\"instruction\"]"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 公交路线规划（代码C）\n",
    "\n",
    "1. 请同学们细读可使用的参数\n",
    "2. 尝试更改参数带到你想要的目标"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(起点)上社_location: 113.371766,23.135068 (终点)小蛮腰_location: 113.317388,23.083801\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>status</th>\n",
       "      <th>info</th>\n",
       "      <th>infocode</th>\n",
       "      <th>count</th>\n",
       "      <th>route.origin</th>\n",
       "      <th>route.destination</th>\n",
       "      <th>route.distance</th>\n",
       "      <th>route.taxi_cost</th>\n",
       "      <th>route.transits</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>OK</td>\n",
       "      <td>10000</td>\n",
       "      <td>5</td>\n",
       "      <td>113.371766,23.135068</td>\n",
       "      <td>113.317388,23.083801</td>\n",
       "      <td>10264</td>\n",
       "      <td>30.1864</td>\n",
       "      <td>[{'cost': '2.0', 'duration': '3864', 'nightfla...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  status info infocode count          route.origin     route.destination  \\\n",
       "0      1   OK    10000     5  113.371766,23.135068  113.317388,23.083801   \n",
       "\n",
       "  route.distance route.taxi_cost  \\\n",
       "0          10264         30.1864   \n",
       "\n",
       "                                      route.transits  \n",
       "0  [{'cost': '2.0', 'duration': '3864', 'nightfla...  "
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# C-1\n",
    "def integrated(origin,destination,city,cityd=None,extensions='base',strategy=None,nightflag=0,date=None,time=None,sig=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/direction/transit/integrated?parameters'\n",
    "    params={\n",
    "        'key':zoe_key,\n",
    "        'origin':origin,\n",
    "        'destination':destination,\n",
    "        'city':city,\n",
    "        'cityd':cityd,\n",
    "        'extensions':extensions,\n",
    "        'strategy':strategy,\n",
    "        'nightflag':nightflag,\n",
    "        'date':date,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "\n",
    "# C-2 准备walking 参数\n",
    "上社 = geocode('广东省广州市天河区上社')\n",
    "上社_location = 上社['geocodes'][0]['location']\n",
    "小蛮腰 = geocode('广东省广州市海珠区广州塔')\n",
    "小蛮腰_location = 小蛮腰['geocodes'][0]['location']\n",
    "print(\"(起点)上社_location:\",上社_location,\"(终点)小蛮腰_location:\",小蛮腰_location)\n",
    "\n",
    "# C-3 公交路径规划\n",
    "上社_小蛮腰 = integrated(上社_location,小蛮腰_location,city='广州',extensions='all')\n",
    "df_bus = pd.json_normalize(上社_小蛮腰)\n",
    "df_bus"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>cost</th>\n",
       "      <th>duration</th>\n",
       "      <th>nightflag</th>\n",
       "      <th>walking_distance</th>\n",
       "      <th>distance</th>\n",
       "      <th>missed</th>\n",
       "      <th>segments</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2.0</td>\n",
       "      <td>3864</td>\n",
       "      <td>0</td>\n",
       "      <td>1421</td>\n",
       "      <td>13853</td>\n",
       "      <td>0</td>\n",
       "      <td>[{'taxi': [], 'walking': {'origin': '113.37171...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>4.0</td>\n",
       "      <td>3980</td>\n",
       "      <td>0</td>\n",
       "      <td>1343</td>\n",
       "      <td>11601</td>\n",
       "      <td>0</td>\n",
       "      <td>[{'taxi': [], 'walking': {'origin': '113.37171...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2.0</td>\n",
       "      <td>4423</td>\n",
       "      <td>0</td>\n",
       "      <td>2316</td>\n",
       "      <td>12019</td>\n",
       "      <td>0</td>\n",
       "      <td>[{'taxi': [], 'walking': {'origin': '113.37171...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4.0</td>\n",
       "      <td>4475</td>\n",
       "      <td>0</td>\n",
       "      <td>1120</td>\n",
       "      <td>15094</td>\n",
       "      <td>0</td>\n",
       "      <td>[{'taxi': [], 'walking': {'origin': '113.37171...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>4.0</td>\n",
       "      <td>4010</td>\n",
       "      <td>0</td>\n",
       "      <td>1454</td>\n",
       "      <td>11796</td>\n",
       "      <td>0</td>\n",
       "      <td>[{'taxi': [], 'walking': {'origin': '113.37171...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  cost duration nightflag walking_distance distance missed  \\\n",
       "0  2.0     3864         0             1421    13853      0   \n",
       "1  4.0     3980         0             1343    11601      0   \n",
       "2  2.0     4423         0             2316    12019      0   \n",
       "3  4.0     4475         0             1120    15094      0   \n",
       "4  4.0     4010         0             1454    11796      0   \n",
       "\n",
       "                                            segments  \n",
       "0  [{'taxi': [], 'walking': {'origin': '113.37171...  \n",
       "1  [{'taxi': [], 'walking': {'origin': '113.37171...  \n",
       "2  [{'taxi': [], 'walking': {'origin': '113.37171...  \n",
       "3  [{'taxi': [], 'walking': {'origin': '113.37171...  \n",
       "4  [{'taxi': [], 'walking': {'origin': '113.37171...  "
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.json_normalize(上社_小蛮腰[\"route\"]['transits'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>taxi</th>\n",
       "      <th>entrance</th>\n",
       "      <th>exit</th>\n",
       "      <th>walking.origin</th>\n",
       "      <th>walking.destination</th>\n",
       "      <th>walking.distance</th>\n",
       "      <th>walking.duration</th>\n",
       "      <th>walking.steps</th>\n",
       "      <th>bus.buslines</th>\n",
       "      <th>railway.via_stops</th>\n",
       "      <th>railway.alters</th>\n",
       "      <th>railway.spaces</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>113.371712,23.135056</td>\n",
       "      <td>113.367233,23.132612</td>\n",
       "      <td>754</td>\n",
       "      <td>646</td>\n",
       "      <td>[{'instruction': '步行89米左转', 'road': [], 'dista...</td>\n",
       "      <td>[{'departure_stop': {'name': '枫叶路口', 'id': '44...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>113.315895,23.086311</td>\n",
       "      <td>113.317375,23.083706</td>\n",
       "      <td>667</td>\n",
       "      <td>571</td>\n",
       "      <td>[{'instruction': '沿广州大道南步行347米左转', 'road': '广州...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  taxi entrance exit        walking.origin   walking.destination  \\\n",
       "0   []       []   []  113.371712,23.135056  113.367233,23.132612   \n",
       "1   []       []   []  113.315895,23.086311  113.317375,23.083706   \n",
       "\n",
       "  walking.distance walking.duration  \\\n",
       "0              754              646   \n",
       "1              667              571   \n",
       "\n",
       "                                       walking.steps  \\\n",
       "0  [{'instruction': '步行89米左转', 'road': [], 'dista...   \n",
       "1  [{'instruction': '沿广州大道南步行347米左转', 'road': '广州...   \n",
       "\n",
       "                                        bus.buslines railway.via_stops  \\\n",
       "0  [{'departure_stop': {'name': '枫叶路口', 'id': '44...                []   \n",
       "1                                                 []                []   \n",
       "\n",
       "  railway.alters railway.spaces  \n",
       "0             []             []  \n",
       "1             []             []  "
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.json_normalize(上社_小蛮腰[\"route\"]['transits'][0]['segments'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>name</th>\n",
       "      <th>id</th>\n",
       "      <th>type</th>\n",
       "      <th>distance</th>\n",
       "      <th>duration</th>\n",
       "      <th>polyline</th>\n",
       "      <th>bustimetag</th>\n",
       "      <th>start_time</th>\n",
       "      <th>end_time</th>\n",
       "      <th>via_num</th>\n",
       "      <th>via_stops</th>\n",
       "      <th>departure_stop.name</th>\n",
       "      <th>departure_stop.id</th>\n",
       "      <th>departure_stop.location</th>\n",
       "      <th>arrival_stop.name</th>\n",
       "      <th>arrival_stop.id</th>\n",
       "      <th>arrival_stop.location</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>239路(华景新城总站(翰景路)--南洲北路总站)</td>\n",
       "      <td>440100016384</td>\n",
       "      <td>普通公交线路</td>\n",
       "      <td>12432</td>\n",
       "      <td>2646</td>\n",
       "      <td>113.367226,23.132591;113.367241,23.132309;113....</td>\n",
       "      <td>0</td>\n",
       "      <td>0600</td>\n",
       "      <td>2200</td>\n",
       "      <td>15</td>\n",
       "      <td>[{'name': '天河公园', 'id': '440100016384005', 'lo...</td>\n",
       "      <td>枫叶路口</td>\n",
       "      <td>440100016384004</td>\n",
       "      <td>113.367226,23.132591</td>\n",
       "      <td>园艺场</td>\n",
       "      <td>440100016384020</td>\n",
       "      <td>113.315903,23.086452</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                        name            id    type distance duration  \\\n",
       "0  239路(华景新城总站(翰景路)--南洲北路总站)  440100016384  普通公交线路    12432     2646   \n",
       "\n",
       "                                            polyline bustimetag start_time  \\\n",
       "0  113.367226,23.132591;113.367241,23.132309;113....          0       0600   \n",
       "\n",
       "  end_time via_num                                          via_stops  \\\n",
       "0     2200      15  [{'name': '天河公园', 'id': '440100016384005', 'lo...   \n",
       "\n",
       "  departure_stop.name departure_stop.id departure_stop.location  \\\n",
       "0                枫叶路口   440100016384004    113.367226,23.132591   \n",
       "\n",
       "  arrival_stop.name  arrival_stop.id arrival_stop.location  \n",
       "0               园艺场  440100016384020  113.315903,23.086452  "
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_bus_基本信息 = pd.json_normalize(上社_小蛮腰[\"route\"]['transits'][0]['segments'][0]['bus'][\"buslines\"])\n",
    "df_bus_基本信息"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>_239路公交车</th>\n",
       "      <th>id</th>\n",
       "      <th>location</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>天河公园</td>\n",
       "      <td>440100016384005</td>\n",
       "      <td>113.362701,23.129349</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>天府路</td>\n",
       "      <td>440100016384006</td>\n",
       "      <td>113.362251,23.124987</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>员村</td>\n",
       "      <td>440100016384007</td>\n",
       "      <td>113.364639,23.122396</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>程界村</td>\n",
       "      <td>440100016384008</td>\n",
       "      <td>113.368965,23.121180</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>员村四横路口</td>\n",
       "      <td>440100016384009</td>\n",
       "      <td>113.371399,23.120560</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>琶洲大桥北</td>\n",
       "      <td>440100016384010</td>\n",
       "      <td>113.374313,23.116276</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>琶洲大桥南</td>\n",
       "      <td>440100016384011</td>\n",
       "      <td>113.369324,23.098484</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>琶洲</td>\n",
       "      <td>440100016384012</td>\n",
       "      <td>113.367317,23.098579</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>广交会展馆</td>\n",
       "      <td>440100016384013</td>\n",
       "      <td>113.361259,23.098789</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>海港花园</td>\n",
       "      <td>440100016384014</td>\n",
       "      <td>113.344543,23.098780</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>磨碟沙</td>\n",
       "      <td>440100016384015</td>\n",
       "      <td>113.340500,23.098749</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>赤岗</td>\n",
       "      <td>440100016384016</td>\n",
       "      <td>113.332039,23.096151</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>赤岗路口</td>\n",
       "      <td>440100016384017</td>\n",
       "      <td>113.328934,23.096333</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>珠影</td>\n",
       "      <td>440100016384027</td>\n",
       "      <td>113.320450,23.096230</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>墩和</td>\n",
       "      <td>440100016384019</td>\n",
       "      <td>113.315506,23.091307</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   _239路公交车               id              location\n",
       "0      天河公园  440100016384005  113.362701,23.129349\n",
       "1       天府路  440100016384006  113.362251,23.124987\n",
       "2        员村  440100016384007  113.364639,23.122396\n",
       "3       程界村  440100016384008  113.368965,23.121180\n",
       "4    员村四横路口  440100016384009  113.371399,23.120560\n",
       "5     琶洲大桥北  440100016384010  113.374313,23.116276\n",
       "6     琶洲大桥南  440100016384011  113.369324,23.098484\n",
       "7        琶洲  440100016384012  113.367317,23.098579\n",
       "8     广交会展馆  440100016384013  113.361259,23.098789\n",
       "9      海港花园  440100016384014  113.344543,23.098780\n",
       "10      磨碟沙  440100016384015  113.340500,23.098749\n",
       "11       赤岗  440100016384016  113.332039,23.096151\n",
       "12     赤岗路口  440100016384017  113.328934,23.096333\n",
       "13       珠影  440100016384027  113.320450,23.096230\n",
       "14       墩和  440100016384019  113.315506,23.091307"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# C-4 公交车/地铁，信息处理结果\n",
    "_239路公交车 = pd.json_normalize(上社_小蛮腰[\"route\"]['transits'][0]['segments'][0]['bus'][\"buslines\"][0][\"via_stops\"]).rename(columns={\"name\":\"_239路公交车\"})\n",
    "display(_239路公交车)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 行政区域查询（代码D）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>citycode</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>center</th>\n",
       "      <th>level</th>\n",
       "      <th>districts</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0535</td>\n",
       "      <td>370600</td>\n",
       "      <td>烟台市</td>\n",
       "      <td>121.391382,37.539297</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0535', 'adcode': '370634', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0532</td>\n",
       "      <td>370200</td>\n",
       "      <td>青岛市</td>\n",
       "      <td>120.355173,36.082982</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0532', 'adcode': '370285', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0631</td>\n",
       "      <td>371000</td>\n",
       "      <td>威海市</td>\n",
       "      <td>122.116394,37.509691</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0631', 'adcode': '371002', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0635</td>\n",
       "      <td>371500</td>\n",
       "      <td>聊城市</td>\n",
       "      <td>115.980367,36.456013</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0635', 'adcode': '371525', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>0533</td>\n",
       "      <td>370300</td>\n",
       "      <td>淄博市</td>\n",
       "      <td>118.047648,36.814939</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0533', 'adcode': '370322', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>0539</td>\n",
       "      <td>371300</td>\n",
       "      <td>临沂市</td>\n",
       "      <td>118.326443,35.065282</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0539', 'adcode': '371323', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>0536</td>\n",
       "      <td>370700</td>\n",
       "      <td>潍坊市</td>\n",
       "      <td>119.107078,36.70925</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0536', 'adcode': '370724', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>0543</td>\n",
       "      <td>371600</td>\n",
       "      <td>滨州市</td>\n",
       "      <td>118.016974,37.383542</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0543', 'adcode': '371603', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>0633</td>\n",
       "      <td>371100</td>\n",
       "      <td>日照市</td>\n",
       "      <td>119.461208,35.428588</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0633', 'adcode': '371121', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>0546</td>\n",
       "      <td>370500</td>\n",
       "      <td>东营市</td>\n",
       "      <td>118.66471,37.434564</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0546', 'adcode': '370522', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>0538</td>\n",
       "      <td>370900</td>\n",
       "      <td>泰安市</td>\n",
       "      <td>117.129063,36.194968</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0538', 'adcode': '370982', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>0530</td>\n",
       "      <td>371700</td>\n",
       "      <td>菏泽市</td>\n",
       "      <td>115.469381,35.246531</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0530', 'adcode': '371726', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>0537</td>\n",
       "      <td>370800</td>\n",
       "      <td>济宁市</td>\n",
       "      <td>116.587245,35.415393</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0537', 'adcode': '370831', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>0531</td>\n",
       "      <td>370100</td>\n",
       "      <td>济南市</td>\n",
       "      <td>117.000923,36.675807</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0531', 'adcode': '370113', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>0632</td>\n",
       "      <td>370400</td>\n",
       "      <td>枣庄市</td>\n",
       "      <td>117.557964,34.856424</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0632', 'adcode': '370406', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>0534</td>\n",
       "      <td>371400</td>\n",
       "      <td>德州市</td>\n",
       "      <td>116.307428,37.453968</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0534', 'adcode': '371481', 'nam...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   citycode  adcode name                center level  \\\n",
       "0      0535  370600  烟台市  121.391382,37.539297  city   \n",
       "1      0532  370200  青岛市  120.355173,36.082982  city   \n",
       "2      0631  371000  威海市  122.116394,37.509691  city   \n",
       "3      0635  371500  聊城市  115.980367,36.456013  city   \n",
       "4      0533  370300  淄博市  118.047648,36.814939  city   \n",
       "5      0539  371300  临沂市  118.326443,35.065282  city   \n",
       "6      0536  370700  潍坊市   119.107078,36.70925  city   \n",
       "7      0543  371600  滨州市  118.016974,37.383542  city   \n",
       "8      0633  371100  日照市  119.461208,35.428588  city   \n",
       "9      0546  370500  东营市   118.66471,37.434564  city   \n",
       "10     0538  370900  泰安市  117.129063,36.194968  city   \n",
       "11     0530  371700  菏泽市  115.469381,35.246531  city   \n",
       "12     0537  370800  济宁市  116.587245,35.415393  city   \n",
       "13     0531  370100  济南市  117.000923,36.675807  city   \n",
       "14     0632  370400  枣庄市  117.557964,34.856424  city   \n",
       "15     0534  371400  德州市  116.307428,37.453968  city   \n",
       "\n",
       "                                            districts  \n",
       "0   [{'citycode': '0535', 'adcode': '370634', 'nam...  \n",
       "1   [{'citycode': '0532', 'adcode': '370285', 'nam...  \n",
       "2   [{'citycode': '0631', 'adcode': '371002', 'nam...  \n",
       "3   [{'citycode': '0635', 'adcode': '371525', 'nam...  \n",
       "4   [{'citycode': '0533', 'adcode': '370322', 'nam...  \n",
       "5   [{'citycode': '0539', 'adcode': '371323', 'nam...  \n",
       "6   [{'citycode': '0536', 'adcode': '370724', 'nam...  \n",
       "7   [{'citycode': '0543', 'adcode': '371603', 'nam...  \n",
       "8   [{'citycode': '0633', 'adcode': '371121', 'nam...  \n",
       "9   [{'citycode': '0546', 'adcode': '370522', 'nam...  \n",
       "10  [{'citycode': '0538', 'adcode': '370982', 'nam...  \n",
       "11  [{'citycode': '0530', 'adcode': '371726', 'nam...  \n",
       "12  [{'citycode': '0537', 'adcode': '370831', 'nam...  \n",
       "13  [{'citycode': '0531', 'adcode': '370113', 'nam...  \n",
       "14  [{'citycode': '0632', 'adcode': '370406', 'nam...  \n",
       "15  [{'citycode': '0534', 'adcode': '371481', 'nam...  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>citycode</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>center</th>\n",
       "      <th>level</th>\n",
       "      <th>districts</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0535</td>\n",
       "      <td>370634</td>\n",
       "      <td>长岛县</td>\n",
       "      <td>120.738345,37.916194</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0535</td>\n",
       "      <td>370683</td>\n",
       "      <td>莱州市</td>\n",
       "      <td>119.942135,37.182725</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0535</td>\n",
       "      <td>370602</td>\n",
       "      <td>芝罘区</td>\n",
       "      <td>121.385877,37.540925</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0535</td>\n",
       "      <td>370687</td>\n",
       "      <td>海阳市</td>\n",
       "      <td>121.168392,36.780657</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>0535</td>\n",
       "      <td>370681</td>\n",
       "      <td>龙口市</td>\n",
       "      <td>120.528328,37.648446</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>0535</td>\n",
       "      <td>370682</td>\n",
       "      <td>莱阳市</td>\n",
       "      <td>120.711151,36.977037</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>0535</td>\n",
       "      <td>370684</td>\n",
       "      <td>蓬莱市</td>\n",
       "      <td>120.762689,37.811168</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>0535</td>\n",
       "      <td>370685</td>\n",
       "      <td>招远市</td>\n",
       "      <td>120.403142,37.364919</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>0535</td>\n",
       "      <td>370611</td>\n",
       "      <td>福山区</td>\n",
       "      <td>121.264741,37.496875</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>0535</td>\n",
       "      <td>370613</td>\n",
       "      <td>莱山区</td>\n",
       "      <td>121.448866,37.473549</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>0535</td>\n",
       "      <td>370686</td>\n",
       "      <td>栖霞市</td>\n",
       "      <td>120.834097,37.305854</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>0535</td>\n",
       "      <td>370612</td>\n",
       "      <td>牟平区</td>\n",
       "      <td>121.60151,37.388356</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   citycode  adcode name                center     level districts\n",
       "0      0535  370634  长岛县  120.738345,37.916194  district        []\n",
       "1      0535  370683  莱州市  119.942135,37.182725  district        []\n",
       "2      0535  370602  芝罘区  121.385877,37.540925  district        []\n",
       "3      0535  370687  海阳市  121.168392,36.780657  district        []\n",
       "4      0535  370681  龙口市  120.528328,37.648446  district        []\n",
       "5      0535  370682  莱阳市  120.711151,36.977037  district        []\n",
       "6      0535  370684  蓬莱市  120.762689,37.811168  district        []\n",
       "7      0535  370685  招远市  120.403142,37.364919  district        []\n",
       "8      0535  370611  福山区  121.264741,37.496875  district        []\n",
       "9      0535  370613  莱山区  121.448866,37.473549  district        []\n",
       "10     0535  370686  栖霞市  120.834097,37.305854  district        []\n",
       "11     0535  370612  牟平区   121.60151,37.388356  district        []"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# D-1 请注意行政区域级别划分参数\n",
    "def district(keywords,subdistrict=None,page=None,offset=None,extensions='base',filter=None,)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/config/district?parameters'\n",
    "    params={\n",
    "        'key':zoe_key,\n",
    "        'keywords':keywords,\n",
    "        'subdistrict':subdistrict,\n",
    "        'page':page,\n",
    "        'offset':offset,\n",
    "        'extensions':extensions,\n",
    "        'filter':filter,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "行政区域 = district(keywords='山东',extensions='all',subdistrict=2)\n",
    "\n",
    "df_行政区域_1级 = pd.json_normalize(行政区域[\"districts\"][0]['districts'])\n",
    "\n",
    "df_行政区域_2级_青岛市 = pd.json_normalize(行政区域[\"districts\"][0]['districts'][0]['districts'])\n",
    "display(df_行政区域_1级,df_行政区域_2级_青岛市)\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>citycode</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>center</th>\n",
       "      <th>level</th>\n",
       "      <th>districts</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0535</td>\n",
       "      <td>370634</td>\n",
       "      <td>长岛县</td>\n",
       "      <td>120.738345,37.916194</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0535</td>\n",
       "      <td>370683</td>\n",
       "      <td>莱州市</td>\n",
       "      <td>119.942135,37.182725</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0535</td>\n",
       "      <td>370602</td>\n",
       "      <td>芝罘区</td>\n",
       "      <td>121.385877,37.540925</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0535</td>\n",
       "      <td>370687</td>\n",
       "      <td>海阳市</td>\n",
       "      <td>121.168392,36.780657</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>0535</td>\n",
       "      <td>370681</td>\n",
       "      <td>龙口市</td>\n",
       "      <td>120.528328,37.648446</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>0535</td>\n",
       "      <td>370682</td>\n",
       "      <td>莱阳市</td>\n",
       "      <td>120.711151,36.977037</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>0535</td>\n",
       "      <td>370684</td>\n",
       "      <td>蓬莱市</td>\n",
       "      <td>120.762689,37.811168</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>0535</td>\n",
       "      <td>370685</td>\n",
       "      <td>招远市</td>\n",
       "      <td>120.403142,37.364919</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>0535</td>\n",
       "      <td>370611</td>\n",
       "      <td>福山区</td>\n",
       "      <td>121.264741,37.496875</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>0535</td>\n",
       "      <td>370613</td>\n",
       "      <td>莱山区</td>\n",
       "      <td>121.448866,37.473549</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>0535</td>\n",
       "      <td>370686</td>\n",
       "      <td>栖霞市</td>\n",
       "      <td>120.834097,37.305854</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>0535</td>\n",
       "      <td>370612</td>\n",
       "      <td>牟平区</td>\n",
       "      <td>121.60151,37.388356</td>\n",
       "      <td>district</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   citycode  adcode name                center     level districts\n",
       "0      0535  370634  长岛县  120.738345,37.916194  district        []\n",
       "1      0535  370683  莱州市  119.942135,37.182725  district        []\n",
       "2      0535  370602  芝罘区  121.385877,37.540925  district        []\n",
       "3      0535  370687  海阳市  121.168392,36.780657  district        []\n",
       "4      0535  370681  龙口市  120.528328,37.648446  district        []\n",
       "5      0535  370682  莱阳市  120.711151,36.977037  district        []\n",
       "6      0535  370684  蓬莱市  120.762689,37.811168  district        []\n",
       "7      0535  370685  招远市  120.403142,37.364919  district        []\n",
       "8      0535  370611  福山区  121.264741,37.496875  district        []\n",
       "9      0535  370613  莱山区  121.448866,37.473549  district        []\n",
       "10     0535  370686  栖霞市  120.834097,37.305854  district        []\n",
       "11     0535  370612  牟平区   121.60151,37.388356  district        []"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# D-2 2级区域地址\n",
    "df_行政区域_2级_青岛市"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 搜索POI"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 关键字搜索（代码E）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '391',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'suggestion': {'keywords': [], 'cities': []},\n",
       " 'pois': [{'id': 'B00154D7YZ',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '上海商学院奉浦校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '奉浦大道123号',\n",
       "   'location': '121.456438,30.940791',\n",
       "   'tel': '021-67102976;021-67105343',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310120',\n",
       "   'adname': '奉贤区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621332621',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F013012_145543',\n",
       "   'entr_location': '121.456146,30.942132',\n",
       "   'business_area': '南桥',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-24 19:03:10',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/039315858d1ca9ea0cb2c8227c17cb71'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/05abd1e8b610022d50a8b1ea22de1bac'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e85c9290d9c4b91ca629739786c89fd2'}]},\n",
       "  {'id': 'B001559J7W',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '上海工商职业技术学院(青浦分校)',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '华新镇新凤北路565号',\n",
       "   'location': '121.221183,31.248393',\n",
       "   'tel': '021-60258299',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310118',\n",
       "   'adname': '青浦区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621619722',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F009010_3728',\n",
       "   'entr_location': '121.222592,31.248505',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-03 15:05:43',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/28c959ff765e3a3d8e40f70f4debb641'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ee95dfedfc681cd5c15046d061dee0d7'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3ce98b32b32e7c9605e129cd08bef93b'}]},\n",
       "  {'id': 'B00154DUAF',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '上海商学院徐汇校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '中山西路2271号',\n",
       "   'location': '121.429585,31.182593',\n",
       "   'tel': '021-54252879',\n",
       "   'postcode': '200235',\n",
       "   'website': 'www.sbs.edu.cn',\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310104',\n",
       "   'adname': '徐汇区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621631421',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F010012_56430',\n",
       "   'entr_location': '121.429156,31.181991',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-16 18:28:27',\n",
       "   'alias': '上海商学院',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00155LHD0 ',\n",
       "     'name': ' 上海商学院(西南门) ',\n",
       "     'sname': ' 西南门 ',\n",
       "     'location': '121.429153,31.182098',\n",
       "     'address': ' 中山西路2271-2277号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '}],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/626ea368036e9203af987c0f6491d870'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0c9d5c0057ac457699d39fcb292ddfd3'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1a61294769421b24ec47ab792735694d'}]},\n",
       "  {'id': 'B00155CZ91',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '东华大学松江校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '人民北路2999号',\n",
       "   'location': '121.213164,31.055582',\n",
       "   'tel': '021-67792100',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310117',\n",
       "   'adname': '松江区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621416720',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F012010_134098',\n",
       "   'entr_location': '121.212251,31.05969',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-17 15:45:26',\n",
       "   'alias': '东华大学松江|松江东华大学',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': '4.7', 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00155LCJ7 ',\n",
       "     'name': ' 东华大学松江校区(北门) ',\n",
       "     'sname': ' 北门 ',\n",
       "     'location': '121.212249,31.059536',\n",
       "     'address': ' 广富林路2399号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991401 '},\n",
       "    {'id': ' B0FFF5UQCZ ',\n",
       "     'name': ' 东华大学松江校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.210858,31.058884',\n",
       "     'address': ' 人民北路2999东华大学松江校区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '},\n",
       "    {'id': ' B00155Q6C7 ',\n",
       "     'name': ' 东华大学松江校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.210783,31.058068',\n",
       "     'address': ' 方松街道人民北路2999号东华大学4号学院楼附近 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '}],\n",
       "   'photos': [{'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/861926c2a664b0af67fb07703e104526'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c8485a47cd4329395661f401adf5ec57'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/af4aa721b6618e57e95056dbf6c64e10'}]},\n",
       "  {'id': 'B00155984M',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '上海大学宝山校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '上大路99号',\n",
       "   'location': '121.393603,31.315929',\n",
       "   'tel': '021-66132222',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310113',\n",
       "   'adname': '宝山区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621737121',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F009012_18019',\n",
       "   'entr_location': '121.396151,31.31176',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-17 15:54:42',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00154D8XI ',\n",
       "     'name': ' 上海大学宝山校区(西3门) ',\n",
       "     'sname': ' 西3门 ',\n",
       "     'location': '121.397528,31.318414',\n",
       "     'address': ' 南陈路380号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00155Q4O0 ',\n",
       "     'name': ' 上海大学宝山校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.397440,31.313546',\n",
       "     'address': ' 上海大学(宝山校区) ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '}],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b176545a018e4bbd30f31e07c7fecfaf'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c029ad91f9b498a54912e0ccfe3cea50'},\n",
       "    {'title': '特色图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e4d2029e2ec3199ad6a05bf35d53d59d'}]},\n",
       "  {'id': 'B00155K7SE',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '华东理工大学(徐汇校区)',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '梅陇路130号',\n",
       "   'location': '121.423894,31.143342',\n",
       "   'tel': '021-64253300;021-64252093;021-64252405',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310104',\n",
       "   'adname': '徐汇区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621537302',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F011012_283472;370419;356326',\n",
       "   'entr_location': '121.42848,31.145406',\n",
       "   'business_area': '梅陇',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-17 15:36:51',\n",
       "   'alias': '华理|理工大学徐汇校区',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00155I1DT ',\n",
       "     'name': ' 华东理工大学徐汇校区(东南门) ',\n",
       "     'sname': ' 东南门 ',\n",
       "     'location': '121.425768,31.141062',\n",
       "     'address': ' 梅陇路130号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00155KOY9 ',\n",
       "     'name': ' 华东理工大学徐汇校区(东北门) ',\n",
       "     'sname': ' 东北门 ',\n",
       "     'location': '121.428405,31.145370',\n",
       "     'address': ' 老沪闵路633号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00156D0WP ',\n",
       "     'name': ' 华东理工大学停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.424792,31.140881',\n",
       "     'address': ' 梅陇路130号华东理工大学徐汇校区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '},\n",
       "    {'id': ' B00156DFMQ ',\n",
       "     'name': ' 华东理工大学停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.422187,31.144053',\n",
       "     'address': ' 图书馆路与行知路交叉口西北100米 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '},\n",
       "    {'id': ' B00156D3XF ',\n",
       "     'name': ' 华东理工大学停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.427965,31.143430',\n",
       "     'address': ' 梅陇路130号华东理工大学徐汇校区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '}],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2f488472879d99d51562e641ed5534ba'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b4ee8d155a91caafca0ffa5180c1bf82'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5f04e36f460644da2d5a61904b3a5894'}]},\n",
       "  {'id': 'B00154BE33',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '上海国家会计学院',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '徐泾镇徐径镇盈港东路777号',\n",
       "   'location': '121.291229,31.177703',\n",
       "   'tel': '021-69768000',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310118',\n",
       "   'adname': '青浦区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621621300',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F010011_6320',\n",
       "   'entr_location': '121.288505,31.175535',\n",
       "   'business_area': '徐泾',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-17 12:12:01',\n",
       "   'alias': '亚太财经与发展学院|国家会计学院',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00155QHAQ ',\n",
       "     'name': ' 上海国家会计学院(西北1门) ',\n",
       "     'sname': ' 西北1门 ',\n",
       "     'location': '121.292419,31.180679',\n",
       "     'address': ' 盈港东路777号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '}],\n",
       "   'photos': [{'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a8f775ab4901abd32b0ca75e9381cddc'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/81b9e6892f3c9d16f47f599f2d26999c'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2136b4f60db34cc607344a34f84cea2d'}]},\n",
       "  {'id': 'B00155HU50',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '同济大学嘉定校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '曹安公路4800号',\n",
       "   'location': '121.21528,31.286143',\n",
       "   'tel': [],\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310114',\n",
       "   'adname': '嘉定区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621714700',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F009010_3833',\n",
       "   'entr_location': '121.212054,31.282031',\n",
       "   'business_area': '黄渡',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-09 16:08:30',\n",
       "   'alias': '嘉定同济大学',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0ebe1a289eadab85ce1734fb1695f7e9'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/450dae2d79b4aa833e92c3cb21be79b4'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c88aef0044059e89b897881f70756319'}]},\n",
       "  {'id': 'B00156GNL5',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '天马高尔夫学院',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '赵昆公路3958号',\n",
       "   'location': '121.140919,31.060667',\n",
       "   'tel': [],\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310117',\n",
       "   'adname': '松江区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621417100',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F012010_296001',\n",
       "   'entr_location': '121.140664,31.061531',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-17 15:41:10',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': '5.0', 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9d702f75707e8a007bec4d1ed2eadd2e'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/518a25276f995cf68b471adb439bae80'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c9f118f44a9c24f5fc320b7921d294bd'}]},\n",
       "  {'id': 'B00154DQPJ',\n",
       "   'parent': 'B0FFLFL11U',\n",
       "   'childtype': '309',\n",
       "   'name': '复旦大学邯郸校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '邯郸路220号',\n",
       "   'location': '121.503584,31.296426',\n",
       "   'tel': '021-65642222;021-55666668',\n",
       "   'postcode': [],\n",
       "   'website': 'www.fudan.edu.cn',\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310110',\n",
       "   'adname': '杨浦区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621745010',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F009012_1032698',\n",
       "   'entr_location': '121.503986,31.296606',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-23 00:14:39',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00155K7SK ',\n",
       "     'name': ' 复旦大学邯郸校区(东2门) ',\n",
       "     'sname': ' 东2门 ',\n",
       "     'location': '121.507199,31.300546',\n",
       "     'address': ' 国定路400号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00155K7SI ',\n",
       "     'name': ' 复旦大学邯郸校区(东1门) ',\n",
       "     'sname': ' 东1门 ',\n",
       "     'location': '121.506994,31.300951',\n",
       "     'address': ' 政通路270号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00155MX90 ',\n",
       "     'name': ' 复旦大学邯郸校区停车场(复旦大学学生生活园区一期南) ',\n",
       "     'sname': ' 停车场(复旦大学学生生活园区1期南) ',\n",
       "     'location': '121.501813,31.292176',\n",
       "     'address': ' 邯郸路220号复旦大学邯郸校区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150904 '},\n",
       "    {'id': ' B0FFF3AU5G ',\n",
       "     'name': ' 复旦大学邯郸校区停车场(政民路) ',\n",
       "     'sname': ' 停车场(政民路) ',\n",
       "     'location': '121.503063,31.299765',\n",
       "     'address': ' 邯郸路220号复旦大学邯郸校区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150904 '},\n",
       "    {'id': ' B0FFF3AU5E ',\n",
       "     'name': ' 复旦大学邯郸校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.499175,31.298211',\n",
       "     'address': ' 邯郸路220号复旦大学邯郸校区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150904 '}],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/aa187f112bec426ca2caed7e287d7109'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5d36b2d9c6a21b0a80f534e7aca25895'},\n",
       "    {'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/05d1ab6626d58152cb2f621d96a00e26'}]},\n",
       "  {'id': 'B00155L2UD',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '东华大学延安路校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '延安西路1882号',\n",
       "   'location': '121.41494,31.204408',\n",
       "   'tel': '021-62373259;021-62379068;021-62373598',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310105',\n",
       "   'adname': '长宁区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621634310',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F010012_859314',\n",
       "   'entr_location': '121.412685,31.203153',\n",
       "   'business_area': '虹桥',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-09 17:16:18',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00155MF1T ',\n",
       "     'name': ' 东华大学延安路校区(南门) ',\n",
       "     'sname': ' 南门 ',\n",
       "     'location': '121.414545,31.201803',\n",
       "     'address': '  ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '}],\n",
       "   'photos': [{'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c60e05ad6d48977cc9c22f5bc448104b'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/fad91929928e7307aa8381acc19ee34e'},\n",
       "    {'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9625a6d31efa92746e060023bbaa3c65'}]},\n",
       "  {'id': 'B00155K8GN',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '上海海洋大学临港校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '沪城环路999号',\n",
       "   'location': '121.89691,30.882894',\n",
       "   'tel': '021-61900296',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310115',\n",
       "   'adname': '浦东新区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621275122',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F014016_44',\n",
       "   'entr_location': '121.900608,30.886873',\n",
       "   'business_area': '临港',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-06 11:33:40',\n",
       "   'alias': '海洋大学',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/63fbc7e230a0d8a8b9e5cf3f27b1e0ab'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/17ace8109ee4ade95915c26bbe7ab60a'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7d7d16c9db7fbd3416a1878e51c60296'}]},\n",
       "  {'id': 'B00155MMFN',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '上海师范大学(徐汇校区)',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '桂林路100号',\n",
       "   'location': '121.418411,31.161084',\n",
       "   'tel': '021-64322031;021-64322000',\n",
       "   'postcode': [],\n",
       "   'website': 'www.shnu.edu.cn',\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310104',\n",
       "   'adname': '徐汇区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621539301',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F011012_281274',\n",
       "   'entr_location': '121.419428,31.161573',\n",
       "   'business_area': '漕河泾',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-17 15:55:04',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/eec9d3f4f8e4ed23b84692ac5d3c3d6e'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/459b8a597f608a136c18b02f0cddda8b'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/006b1a3df717341cd4445d529b9f35e6'}]},\n",
       "  {'id': 'B0FFFWUX4F',\n",
       "   'parent': 'B00155R1D5',\n",
       "   'childtype': '309',\n",
       "   'name': '上海交通大学闵行校区东上院',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '东川路800号上海交通大学闵行校区内(近东下院)',\n",
       "   'location': '121.438531,31.021522',\n",
       "   'tel': [],\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310112',\n",
       "   'adname': '闵行区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621432510',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F012012_40519',\n",
       "   'entr_location': '121.437788,31.021456',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-16 17:35:21',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': '4.5', 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a7ed3aa67e5fb373af4cd7e6412ce8be'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/64daeb512fb6285408fc39059698a4fe'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c03eda499c87e3a4f6c394adfbb4a76c'}]},\n",
       "  {'id': 'B00155R06J',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '上海第二工业大学',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '金海路2360号',\n",
       "   'location': '121.652772,31.260242',\n",
       "   'tel': '021-50217007;021-50216692;021-50214975;021-50215021',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310115',\n",
       "   'adname': '浦东新区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621751200',\n",
       "   'distance': [],\n",
       "   'navi_poiid': [],\n",
       "   'entr_location': '121.651491,31.264921',\n",
       "   'business_area': '曹路',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-20 13:46:07',\n",
       "   'alias': '第二工业大学',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3491f080923e3509dcaac9976f4a4d49'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d135e104c71861bd74b0de2528b553d0'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9da2ce8b2855dfa900a564aa52572b68'}]},\n",
       "  {'id': 'B00154D79J',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '上海师范大学(奉贤校区)',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '海思路100号',\n",
       "   'location': '121.516566,30.836661',\n",
       "   'tel': '021-57122472;021-57123520',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310120',\n",
       "   'adname': '奉贤区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621240111',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F014013_3040',\n",
       "   'entr_location': '121.521101,30.834409',\n",
       "   'business_area': '海湾',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-15 21:02:01',\n",
       "   'alias': '上海师范',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/12327bb625421b09dd6afd25df28095f'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ce1093c3fa136f0ccae6d9b85a383a02'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ab6d9c466f6632e2947c72a99f92f3ca'}]},\n",
       "  {'id': 'B00155MZGA',\n",
       "   'parent': 'B0FFLGLAMV',\n",
       "   'childtype': '309',\n",
       "   'name': '上海戏剧学院华山路校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '华山路630号',\n",
       "   'location': '121.440128,31.217211',\n",
       "   'tel': '021-62482920',\n",
       "   'postcode': [],\n",
       "   'website': 'www.sta.edu.cn',\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310106',\n",
       "   'adname': '静安区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621636500',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F010012_74536',\n",
       "   'entr_location': '121.440387,31.216734',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-17 15:44:07',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00155IW1I ',\n",
       "     'name': ' 上海戏剧学院华山路校区(西北门) ',\n",
       "     'sname': ' 西北门 ',\n",
       "     'location': '121.439556,31.218378',\n",
       "     'address': ' 延安西路355号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00155LIWS ',\n",
       "     'name': ' 上海戏剧学院华山路校区(东南1门) ',\n",
       "     'sname': ' 东南1门 ',\n",
       "     'location': '121.440361,31.216803',\n",
       "     'address': '  ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '}],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a42c008bda28a79059dbf2b55efc10ec'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c5b3d8e5cffc492effebc9bb232231fc'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7dcd2d4f1b91384598caf7dd49238ddb'}]},\n",
       "  {'id': 'B00155L1UR',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '上海中医药大学',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '蔡伦路1200号',\n",
       "   'location': '121.596333,31.193998',\n",
       "   'tel': '021-51322222',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310115',\n",
       "   'adname': '浦东新区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621643702',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F010013_608653',\n",
       "   'entr_location': '121.597822,31.192099',\n",
       "   'business_area': '张江',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-10 19:48:03',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e7f0ca9fe3993a52384af76390d9cef1'},\n",
       "    {'title': [],\n",
       "     'url': 'http://aos-cdn-image.amap.com/sns/ugccomment/b5cdb034-22d2-4cc9-ba65-78bd9d8ef470.jpg'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/14f82021199ca8cfba2ff1bc67b90287'}]},\n",
       "  {'id': 'B00155K8FL',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '同济大学四平路校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '四平路1239号',\n",
       "   'location': '121.501487,31.282942',\n",
       "   'tel': '021-65982200;021-65982643;021-65983643',\n",
       "   'postcode': [],\n",
       "   'website': 'www.tongji.edu.cn',\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310110',\n",
       "   'adname': '杨浦区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621743020',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F009012_424612;660872',\n",
       "   'entr_location': '121.506343,31.282562',\n",
       "   'business_area': '曲阳',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-23 04:28:08',\n",
       "   'alias': '上海同济大学',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00155KGBM ',\n",
       "     'name': ' 同济大学四平路校区(北2门) ',\n",
       "     'sname': ' 北2门 ',\n",
       "     'location': '121.506191,31.285214',\n",
       "     'address': ' 国康路11号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00155KB7O ',\n",
       "     'name': ' 同济大学四平路校区(南门) ',\n",
       "     'sname': ' 南门 ',\n",
       "     'location': '121.500265,31.280645',\n",
       "     'address': ' 四平路1239号同济大学四平路校区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00155K8FP ',\n",
       "     'name': ' 同济大学四平路校区(南3门) ',\n",
       "     'sname': ' 南3门 ',\n",
       "     'location': '121.496762,31.282031',\n",
       "     'address': ' 赤峰路200号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00155K8FO ',\n",
       "     'name': ' 同济大学四平路校区(东南门) ',\n",
       "     'sname': ' 东南门 ',\n",
       "     'location': '121.506149,31.282598',\n",
       "     'address': ' 四平路1239同济大学 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B0FFH17WDZ ',\n",
       "     'name': ' 同济大学四平路校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.502022,31.280223',\n",
       "     'address': ' 赤峰路18号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '},\n",
       "    {'id': ' B00156NUZT ',\n",
       "     'name': ' 同济大学四平路校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.497468,31.281896',\n",
       "     'address': ' 赤峰路190号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '},\n",
       "    {'id': ' B00156D8NN ',\n",
       "     'name': ' 同济大学四平路校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.499466,31.279128',\n",
       "     'address': ' 赤峰路67同济大学同济大学四平路校区南区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '},\n",
       "    {'id': ' B00156D8NK ',\n",
       "     'name': ' 同济大学四平路校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.506759,31.284920',\n",
       "     'address': ' 四平路1239号同济大学四平路校区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '},\n",
       "    {'id': ' B00156CWPG ',\n",
       "     'name': ' 同济大学四平路校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.498677,31.282130',\n",
       "     'address': ' 赤峰路同济大学 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905|150908 '},\n",
       "    {'id': ' B00156CWPF ',\n",
       "     'name': ' 同济大学四平路校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.499006,31.284310',\n",
       "     'address': ' 密云路同济大学 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '},\n",
       "    {'id': ' B00156CWPE ',\n",
       "     'name': ' 同济大学四平路校区西苑餐厅停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.497695,31.283406',\n",
       "     'address': ' 赤峰路200号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150904 '},\n",
       "    {'id': ' B00156CWPB ',\n",
       "     'name': ' 同济大学四平路校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.500938,31.284593',\n",
       "     'address': ' 四平路1239号同济大学四平路校区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '},\n",
       "    {'id': ' B00156CN89 ',\n",
       "     'name': ' 同济大学四平路校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.506226,31.284415',\n",
       "     'address': ' 赤峰路50号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '},\n",
       "    {'id': ' B00155KFMJ ',\n",
       "     'name': ' 同济大学四平路校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.506485,31.284309',\n",
       "     'address': ' 赤峰路50号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '},\n",
       "    {'id': ' B00155KDMP ',\n",
       "     'name': ' 同济大学四平路校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.502673,31.284335',\n",
       "     'address': '  ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '}],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/474900ed5b77662bbf072d64296ff7bd'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7b463a8972b88abd12e66cfac4879a71'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/35bc917d995445af62bedb4cc0bc581a'}]},\n",
       "  {'id': 'B00154DUXW',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '上海外国语大学虹口校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '大连西路550号',\n",
       "   'location': '121.483354,31.277067',\n",
       "   'tel': '021-65311900;021-35372000;021-55386006',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '310000',\n",
       "   'pname': '上海市',\n",
       "   'citycode': '021',\n",
       "   'cityname': '上海市',\n",
       "   'adcode': '310109',\n",
       "   'adname': '虹口区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '4621733802',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'H51F009012_1165022;660157;660810',\n",
       "   'entr_location': '121.482768,31.275103',\n",
       "   'business_area': '曲阳',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-17 15:03:51',\n",
       "   'alias': '外国语大学虹口校区',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00155IA9M ',\n",
       "     'name': ' 上海外国语大学虹口校区(西门) ',\n",
       "     'sname': ' 西门 ',\n",
       "     'location': '121.481695,31.277731',\n",
       "     'address': ' 西体育会路189号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00155QKP1 ',\n",
       "     'name': ' 上海外国语大学虹口校区(南门) ',\n",
       "     'sname': ' 南门 ',\n",
       "     'location': '121.482783,31.275188',\n",
       "     'address': ' 大连西路550号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B0FFF90E2R ',\n",
       "     'name': ' 上海外国语大学虹口校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.483615,31.276946',\n",
       "     'address': ' 大连西路55号上海外国语大学 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150904 '},\n",
       "    {'id': ' B0FFF3ATYL ',\n",
       "     'name': ' 上海外国语大学虹口校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '121.482200,31.277201',\n",
       "     'address': ' 大连西路550号上海外国语大学虹口校区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150905 '}],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0b1836e38b5c950c1e56cf745ab3c4db'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/bce87151864ea55c9abff037eb7e2a08'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/be7deaa4e63f9e8a7a39179f1c6e55a2'}]}]}"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# E-1\n",
    "def place_text(keywords,types,city=None,citylimit=None,children=None,page=None,extensions='base',sig=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/place/text?parameters'\n",
    "    params={\n",
    "        'key':zoe_key,\n",
    "        'keywords':keywords,\n",
    "        'types':types,\n",
    "        'city':city,\n",
    "        'citylimit':citylimit,\n",
    "        'children':children,\n",
    "        'page':page,\n",
    "        'extensions':extensions,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "\n",
    "上海_大学 = place_text('大学','高等院校',city=\"上海市\",children=1,extensions='all')\n",
    "上海_大学\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>parent</th>\n",
       "      <th>childtype</th>\n",
       "      <th>name</th>\n",
       "      <th>tag</th>\n",
       "      <th>type</th>\n",
       "      <th>typecode</th>\n",
       "      <th>biz_type</th>\n",
       "      <th>address</th>\n",
       "      <th>location</th>\n",
       "      <th>...</th>\n",
       "      <th>discount_num</th>\n",
       "      <th>event</th>\n",
       "      <th>children</th>\n",
       "      <th>photos</th>\n",
       "      <th>indoor_data.cpid</th>\n",
       "      <th>indoor_data.floor</th>\n",
       "      <th>indoor_data.truefloor</th>\n",
       "      <th>indoor_data.cmsid</th>\n",
       "      <th>biz_ext.rating</th>\n",
       "      <th>biz_ext.cost</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B00154D7YZ</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>上海商学院奉浦校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>奉浦大道123号</td>\n",
       "      <td>121.456438,30.940791</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>B001559J7W</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>上海工商职业技术学院(青浦分校)</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>华新镇新凤北路565号</td>\n",
       "      <td>121.221183,31.248393</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B00154DUAF</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>上海商学院徐汇校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>中山西路2271号</td>\n",
       "      <td>121.429585,31.182593</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00155LHD0 ', 'name': ' 上海商学院(西南门) '...</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B00155CZ91</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>东华大学松江校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>人民北路2999号</td>\n",
       "      <td>121.213164,31.055582</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00155LCJ7 ', 'name': ' 东华大学松江校区(北门)...</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.7</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B00155984M</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>上海大学宝山校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>上大路99号</td>\n",
       "      <td>121.393603,31.315929</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00154D8XI ', 'name': ' 上海大学宝山校区(西3门...</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B00155K7SE</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>华东理工大学(徐汇校区)</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>梅陇路130号</td>\n",
       "      <td>121.423894,31.143342</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00155I1DT ', 'name': ' 华东理工大学徐汇校区(东...</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B00154BE33</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>上海国家会计学院</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>徐泾镇徐径镇盈港东路777号</td>\n",
       "      <td>121.291229,31.177703</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00155QHAQ ', 'name': ' 上海国家会计学院(西北1...</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B00155HU50</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>同济大学嘉定校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>曹安公路4800号</td>\n",
       "      <td>121.21528,31.286143</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B00156GNL5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>天马高尔夫学院</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>赵昆公路3958号</td>\n",
       "      <td>121.140919,31.060667</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>5.0</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B00154DQPJ</td>\n",
       "      <td>B0FFLFL11U</td>\n",
       "      <td>309</td>\n",
       "      <td>复旦大学邯郸校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>邯郸路220号</td>\n",
       "      <td>121.503584,31.296426</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00155K7SK ', 'name': ' 复旦大学邯郸校区(东2门...</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>B00155L2UD</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>东华大学延安路校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>延安西路1882号</td>\n",
       "      <td>121.41494,31.204408</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00155MF1T ', 'name': ' 东华大学延安路校区(南门...</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>B00155K8GN</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>上海海洋大学临港校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>沪城环路999号</td>\n",
       "      <td>121.89691,30.882894</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>B00155MMFN</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>上海师范大学(徐汇校区)</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>桂林路100号</td>\n",
       "      <td>121.418411,31.161084</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>B0FFFWUX4F</td>\n",
       "      <td>B00155R1D5</td>\n",
       "      <td>309</td>\n",
       "      <td>上海交通大学闵行校区东上院</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>东川路800号上海交通大学闵行校区内(近东下院)</td>\n",
       "      <td>121.438531,31.021522</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.5</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>B00155R06J</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>上海第二工业大学</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>金海路2360号</td>\n",
       "      <td>121.652772,31.260242</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B00154D79J</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>上海师范大学(奉贤校区)</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>海思路100号</td>\n",
       "      <td>121.516566,30.836661</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>B00155MZGA</td>\n",
       "      <td>B0FFLGLAMV</td>\n",
       "      <td>309</td>\n",
       "      <td>上海戏剧学院华山路校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>华山路630号</td>\n",
       "      <td>121.440128,31.217211</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00155IW1I ', 'name': ' 上海戏剧学院华山路校区(...</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>B00155L1UR</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>上海中医药大学</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>蔡伦路1200号</td>\n",
       "      <td>121.596333,31.193998</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>B00155K8FL</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>同济大学四平路校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>四平路1239号</td>\n",
       "      <td>121.501487,31.282942</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00155KGBM ', 'name': ' 同济大学四平路校区(北2...</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>B00154DUXW</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>上海外国语大学虹口校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>大连西路550号</td>\n",
       "      <td>121.483354,31.277067</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00155IA9M ', 'name': ' 上海外国语大学虹口校区(...</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>20 rows × 46 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "            id      parent childtype              name tag            type  \\\n",
       "0   B00154D7YZ          []        []         上海商学院奉浦校区  []  科教文化服务;学校;高等院校   \n",
       "1   B001559J7W          []        []  上海工商职业技术学院(青浦分校)  []  科教文化服务;学校;高等院校   \n",
       "2   B00154DUAF          []        []         上海商学院徐汇校区  []  科教文化服务;学校;高等院校   \n",
       "3   B00155CZ91          []        []          东华大学松江校区  []  科教文化服务;学校;高等院校   \n",
       "4   B00155984M          []        []          上海大学宝山校区  []  科教文化服务;学校;高等院校   \n",
       "5   B00155K7SE          []        []      华东理工大学(徐汇校区)  []  科教文化服务;学校;高等院校   \n",
       "6   B00154BE33          []        []          上海国家会计学院  []  科教文化服务;学校;高等院校   \n",
       "7   B00155HU50          []        []          同济大学嘉定校区  []  科教文化服务;学校;高等院校   \n",
       "8   B00156GNL5          []        []           天马高尔夫学院  []  科教文化服务;学校;高等院校   \n",
       "9   B00154DQPJ  B0FFLFL11U       309          复旦大学邯郸校区  []  科教文化服务;学校;高等院校   \n",
       "10  B00155L2UD          []        []         东华大学延安路校区  []  科教文化服务;学校;高等院校   \n",
       "11  B00155K8GN          []        []        上海海洋大学临港校区  []  科教文化服务;学校;高等院校   \n",
       "12  B00155MMFN          []        []      上海师范大学(徐汇校区)  []  科教文化服务;学校;高等院校   \n",
       "13  B0FFFWUX4F  B00155R1D5       309     上海交通大学闵行校区东上院  []  科教文化服务;学校;高等院校   \n",
       "14  B00155R06J          []        []          上海第二工业大学  []  科教文化服务;学校;高等院校   \n",
       "15  B00154D79J          []        []      上海师范大学(奉贤校区)  []  科教文化服务;学校;高等院校   \n",
       "16  B00155MZGA  B0FFLGLAMV       309       上海戏剧学院华山路校区  []  科教文化服务;学校;高等院校   \n",
       "17  B00155L1UR          []        []           上海中医药大学  []  科教文化服务;学校;高等院校   \n",
       "18  B00155K8FL          []        []         同济大学四平路校区  []  科教文化服务;学校;高等院校   \n",
       "19  B00154DUXW          []        []       上海外国语大学虹口校区  []  科教文化服务;学校;高等院校   \n",
       "\n",
       "   typecode biz_type                   address              location  ...  \\\n",
       "0    141201       []                  奉浦大道123号  121.456438,30.940791  ...   \n",
       "1    141201       []               华新镇新凤北路565号  121.221183,31.248393  ...   \n",
       "2    141201       []                 中山西路2271号  121.429585,31.182593  ...   \n",
       "3    141201       []                 人民北路2999号  121.213164,31.055582  ...   \n",
       "4    141201       []                    上大路99号  121.393603,31.315929  ...   \n",
       "5    141201       []                   梅陇路130号  121.423894,31.143342  ...   \n",
       "6    141201       []            徐泾镇徐径镇盈港东路777号  121.291229,31.177703  ...   \n",
       "7    141201       []                 曹安公路4800号   121.21528,31.286143  ...   \n",
       "8    141201       []                 赵昆公路3958号  121.140919,31.060667  ...   \n",
       "9    141201       []                   邯郸路220号  121.503584,31.296426  ...   \n",
       "10   141201       []                 延安西路1882号   121.41494,31.204408  ...   \n",
       "11   141201       []                  沪城环路999号   121.89691,30.882894  ...   \n",
       "12   141201       []                   桂林路100号  121.418411,31.161084  ...   \n",
       "13   141201       []  东川路800号上海交通大学闵行校区内(近东下院)  121.438531,31.021522  ...   \n",
       "14   141201       []                  金海路2360号  121.652772,31.260242  ...   \n",
       "15   141201       []                   海思路100号  121.516566,30.836661  ...   \n",
       "16   141201       []                   华山路630号  121.440128,31.217211  ...   \n",
       "17   141201       []                  蔡伦路1200号  121.596333,31.193998  ...   \n",
       "18   141201       []                  四平路1239号  121.501487,31.282942  ...   \n",
       "19   141201       []                  大连西路550号  121.483354,31.277067  ...   \n",
       "\n",
       "   discount_num event                                           children  \\\n",
       "0             0    []                                                 []   \n",
       "1             0    []                                                 []   \n",
       "2             0    []  [{'id': ' B00155LHD0 ', 'name': ' 上海商学院(西南门) '...   \n",
       "3             0    []  [{'id': ' B00155LCJ7 ', 'name': ' 东华大学松江校区(北门)...   \n",
       "4             0    []  [{'id': ' B00154D8XI ', 'name': ' 上海大学宝山校区(西3门...   \n",
       "5             0    []  [{'id': ' B00155I1DT ', 'name': ' 华东理工大学徐汇校区(东...   \n",
       "6             0    []  [{'id': ' B00155QHAQ ', 'name': ' 上海国家会计学院(西北1...   \n",
       "7             0    []                                                 []   \n",
       "8             0    []                                                 []   \n",
       "9             0    []  [{'id': ' B00155K7SK ', 'name': ' 复旦大学邯郸校区(东2门...   \n",
       "10            0    []  [{'id': ' B00155MF1T ', 'name': ' 东华大学延安路校区(南门...   \n",
       "11            0    []                                                 []   \n",
       "12            0    []                                                 []   \n",
       "13            0    []                                                 []   \n",
       "14            0    []                                                 []   \n",
       "15            0    []                                                 []   \n",
       "16            0    []  [{'id': ' B00155IW1I ', 'name': ' 上海戏剧学院华山路校区(...   \n",
       "17            0    []                                                 []   \n",
       "18            0    []  [{'id': ' B00155KGBM ', 'name': ' 同济大学四平路校区(北2...   \n",
       "19            0    []  [{'id': ' B00155IA9M ', 'name': ' 上海外国语大学虹口校区(...   \n",
       "\n",
       "                                               photos indoor_data.cpid  \\\n",
       "0   [{'title': '外景图', 'url': 'http://store.is.auto...               []   \n",
       "1   [{'title': '外景图', 'url': 'http://store.is.auto...               []   \n",
       "2   [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "3   [{'title': '外景图', 'url': 'http://store.is.auto...               []   \n",
       "4   [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "5   [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "6   [{'title': '外景图', 'url': 'http://store.is.auto...               []   \n",
       "7   [{'title': '外景图', 'url': 'http://store.is.auto...               []   \n",
       "8   [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "9   [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "10  [{'title': '外景图', 'url': 'http://store.is.auto...               []   \n",
       "11  [{'title': '外景图', 'url': 'http://store.is.auto...               []   \n",
       "12  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "13  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "14  [{'title': '外景图', 'url': 'http://store.is.auto...               []   \n",
       "15  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "16  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "17  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "18  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "19  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "\n",
       "   indoor_data.floor indoor_data.truefloor indoor_data.cmsid biz_ext.rating  \\\n",
       "0                 []                    []                []             []   \n",
       "1                 []                    []                []             []   \n",
       "2                 []                    []                []             []   \n",
       "3                 []                    []                []            4.7   \n",
       "4                 []                    []                []             []   \n",
       "5                 []                    []                []             []   \n",
       "6                 []                    []                []             []   \n",
       "7                 []                    []                []             []   \n",
       "8                 []                    []                []            5.0   \n",
       "9                 []                    []                []             []   \n",
       "10                []                    []                []             []   \n",
       "11                []                    []                []             []   \n",
       "12                []                    []                []             []   \n",
       "13                []                    []                []            4.5   \n",
       "14                []                    []                []             []   \n",
       "15                []                    []                []             []   \n",
       "16                []                    []                []             []   \n",
       "17                []                    []                []             []   \n",
       "18                []                    []                []             []   \n",
       "19                []                    []                []             []   \n",
       "\n",
       "   biz_ext.cost  \n",
       "0            []  \n",
       "1            []  \n",
       "2            []  \n",
       "3            []  \n",
       "4            []  \n",
       "5            []  \n",
       "6            []  \n",
       "7            []  \n",
       "8            []  \n",
       "9            []  \n",
       "10           []  \n",
       "11           []  \n",
       "12           []  \n",
       "13           []  \n",
       "14           []  \n",
       "15           []  \n",
       "16           []  \n",
       "17           []  \n",
       "18           []  \n",
       "19           []  \n",
       "\n",
       "[20 rows x 46 columns]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "Empty DataFrame\n",
       "Columns: []\n",
       "Index: []"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "df_上海_大学 = pd.json_normalize(上海_大学[\"pois\"])\n",
    "df_上海_大学_上海戏剧学院 = pd.json_normalize(上海_大学[\"pois\"][7][\"children\"])\n",
    "display(df_上海_大学,df_上海_大学_上海戏剧学院)\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 周边搜索 (代码F)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [],
   "source": [
    "# F-1 \n",
    "def place_around(location,keywords=None,types=None,city=None,redius=None,sortrule=None,offset=None,page=None,extensions='base',sig=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/place/around?parameters'\n",
    "    params={\n",
    "        'key':zoe_key,\n",
    "        'keywords':keywords,\n",
    "        'location':location,\n",
    "        'types':types,\n",
    "        'city':city,\n",
    "        'redius':redius,\n",
    "        'sortrule':sortrule,\n",
    "        'offset':offset,\n",
    "        'page':page,\n",
    "        'extensions':extensions,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '864',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'suggestion': {'keywords': [], 'cities': []},\n",
       " 'pois': [{'id': 'B00155LB18',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '美丽园(延安西路)',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'typecode': '120302',\n",
       "   'biz_type': [],\n",
       "   'address': '延安西路379弄2-65号',\n",
       "   'location': '121.439315,31.217722',\n",
       "   'tel': '021-62494968',\n",
       "   'distance': '65',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B001539E35',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '华景大厦',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'typecode': '120201',\n",
       "   'biz_type': [],\n",
       "   'address': '华山路678号',\n",
       "   'location': '121.4395,31.216445',\n",
       "   'tel': [],\n",
       "   'distance': '79',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFGLQX1L',\n",
       "   'parent': 'B00155MZGA',\n",
       "   'childtype': '309',\n",
       "   'name': '上海戏剧学院-食堂',\n",
       "   'type': '餐饮服务;中餐厅;清真菜馆',\n",
       "   'typecode': '050121',\n",
       "   'biz_type': 'diner',\n",
       "   'address': '华山路600号上海戏剧学院内(近镇宁路)',\n",
       "   'location': '121.439069,31.216400',\n",
       "   'tel': '021-62488077;021-62498557',\n",
       "   'distance': '94',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFIGCRA2',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': 'STA LOUNGE',\n",
       "   'type': '餐饮服务;外国餐厅;西餐厅(综合风味)',\n",
       "   'typecode': '050201',\n",
       "   'biz_type': 'diner',\n",
       "   'address': '华山路630号上海戏剧学院(近镇宁路)',\n",
       "   'location': '121.440448,31.216854',\n",
       "   'tel': '021-62888622',\n",
       "   'distance': '94',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFHFCNZY',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': 'PlayGirls美甲美睫定妆Studio(花姑娘半永久定妆)',\n",
       "   'type': '生活服务;生活服务场所;生活服务场所',\n",
       "   'typecode': '070000',\n",
       "   'biz_type': [],\n",
       "   'address': '延安西路421弄(靠近上戏)',\n",
       "   'location': '121.438599,31.217581',\n",
       "   'tel': [],\n",
       "   'distance': '99',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFM6ICQB',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '上海戏剧学院校园餐厅',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'typecode': '050100',\n",
       "   'biz_type': 'diner',\n",
       "   'address': '华山路678号附近',\n",
       "   'location': '121.439175,31.216299',\n",
       "   'tel': '021-62498557;021-62498558',\n",
       "   'distance': '100',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B00152F5EA',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '奥力孚利华大厦',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'typecode': '120201',\n",
       "   'biz_type': [],\n",
       "   'address': '华山路620号',\n",
       "   'location': '121.440668,31.216889',\n",
       "   'tel': [],\n",
       "   'distance': '113',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFH167LZ',\n",
       "   'parent': 'B00155LL77',\n",
       "   'childtype': '306',\n",
       "   'name': '马兰花剧场售票处',\n",
       "   'type': '生活服务;售票处;售票处',\n",
       "   'typecode': '070300',\n",
       "   'biz_type': [],\n",
       "   'address': '华山路643-2号',\n",
       "   'location': '121.440238,31.216339',\n",
       "   'tel': '021-62497313;021-62494790',\n",
       "   'distance': '113',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B00155ML89',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '金柏苑',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'typecode': '120302',\n",
       "   'biz_type': [],\n",
       "   'address': '延安西路433号',\n",
       "   'location': '121.438297,31.217025',\n",
       "   'tel': '021-61335486',\n",
       "   'distance': '117',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFH0HNH1',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '裕和堂中医养生(镇宁路店)',\n",
       "   'type': '生活服务;洗浴推拿场所;洗浴推拿场所',\n",
       "   'typecode': '071400',\n",
       "   'biz_type': [],\n",
       "   'address': '镇宁路98号爱俪轩1层',\n",
       "   'location': '121.438580,31.216442',\n",
       "   'tel': '021-62268933',\n",
       "   'distance': '119',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFIB7PVX',\n",
       "   'parent': 'B00151C5FA',\n",
       "   'childtype': '306',\n",
       "   'name': '中国福利会儿童艺术剧院售票处',\n",
       "   'type': '生活服务;售票处;售票处',\n",
       "   'typecode': '070300',\n",
       "   'biz_type': [],\n",
       "   'address': '华山路643-2号附近',\n",
       "   'location': '121.440556,31.216536',\n",
       "   'tel': [],\n",
       "   'distance': '120',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B001558VO1',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '爱俪轩',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'typecode': '120302',\n",
       "   'biz_type': [],\n",
       "   'address': '镇宁路90-98号',\n",
       "   'location': '121.438537,31.216437',\n",
       "   'tel': '021-62256111;021-52390473',\n",
       "   'distance': '122',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B00155F3AX',\n",
       "   'parent': 'B0FFLGLAMV',\n",
       "   'childtype': '309',\n",
       "   'name': '上海戏剧学院学生公寓',\n",
       "   'type': '商务住宅;住宅区;宿舍',\n",
       "   'typecode': '120303',\n",
       "   'biz_type': [],\n",
       "   'address': '延安西路331号尚熙大厦上戏学生公寓妮儿',\n",
       "   'location': '121.439859,31.218351',\n",
       "   'tel': [],\n",
       "   'distance': '137',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B00153F423',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '尚熙大厦',\n",
       "   'type': '商务住宅;楼宇;商住两用楼宇',\n",
       "   'typecode': '120203',\n",
       "   'biz_type': [],\n",
       "   'address': '延安西路331号',\n",
       "   'location': '121.439862,31.21836',\n",
       "   'tel': [],\n",
       "   'distance': '138',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B00156Y5O4',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': 'SEVE(华山路店)',\n",
       "   'type': '餐饮服务;外国餐厅;意式菜品餐厅',\n",
       "   'typecode': '050205',\n",
       "   'biz_type': 'diner',\n",
       "   'address': '华山路600-1号',\n",
       "   'location': '121.441011,31.216919',\n",
       "   'tel': '021-62493638',\n",
       "   'distance': '144',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B001559XXH',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '华山公寓',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'typecode': '120302',\n",
       "   'biz_type': [],\n",
       "   'address': '华山路688号',\n",
       "   'location': '121.439015,31.215918',\n",
       "   'tel': '021-62499878',\n",
       "   'distance': '145',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B00155FIX3',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '枕流公寓',\n",
       "   'type': '商务住宅;住宅区;住宅小区',\n",
       "   'typecode': '120302',\n",
       "   'biz_type': [],\n",
       "   'address': '华山路699号',\n",
       "   'location': '121.440089,31.215795',\n",
       "   'tel': [],\n",
       "   'distance': '160',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFJM3VP9',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': 'ST Coffee&Sucre',\n",
       "   'type': '餐饮服务;餐饮相关场所;餐饮相关',\n",
       "   'typecode': '050000',\n",
       "   'biz_type': 'diner',\n",
       "   'address': '华山路710号',\n",
       "   'location': '121.439619,31.215687',\n",
       "   'tel': '16621377971',\n",
       "   'distance': '163',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B00155M0JS',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '链家(镇宁店)',\n",
       "   'type': '生活服务;中介机构;中介机构',\n",
       "   'typecode': '071600',\n",
       "   'biz_type': [],\n",
       "   'address': '江苏路街道镇宁路91号甲',\n",
       "   'location': '121.437958,31.216508',\n",
       "   'tel': '021-51120018',\n",
       "   'distance': '164',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFH88QBA',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '悟空找房(镇宁店)',\n",
       "   'type': '生活服务;中介机构;中介机构',\n",
       "   'typecode': '071600',\n",
       "   'biz_type': [],\n",
       "   'address': '镇宁路87',\n",
       "   'location': '121.438001,31.216368',\n",
       "   'tel': '021-52991968',\n",
       "   'distance': '168',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []}]}"
      ]
     },
     "execution_count": 20,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# F-2 json信息\n",
    "上戏 = geocode('上海市上海戏剧学院')\n",
    "上戏_location = 上戏['geocodes'][0]['location']\n",
    "上海戏剧学院_周边POI = place_around(上戏_location)\n",
    "上海戏剧学院_周边POI"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>parent</th>\n",
       "      <th>childtype</th>\n",
       "      <th>name</th>\n",
       "      <th>type</th>\n",
       "      <th>typecode</th>\n",
       "      <th>biz_type</th>\n",
       "      <th>address</th>\n",
       "      <th>location</th>\n",
       "      <th>tel</th>\n",
       "      <th>distance</th>\n",
       "      <th>biz_ext</th>\n",
       "      <th>importance</th>\n",
       "      <th>shopid</th>\n",
       "      <th>shopinfo</th>\n",
       "      <th>poiweight</th>\n",
       "      <th>photos</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B00155LB18</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>美丽园(延安西路)</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "      <td>120302</td>\n",
       "      <td>[]</td>\n",
       "      <td>延安西路379弄2-65号</td>\n",
       "      <td>121.439315,31.217722</td>\n",
       "      <td>021-62494968</td>\n",
       "      <td>65</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>B001539E35</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>华景大厦</td>\n",
       "      <td>商务住宅;楼宇;商务写字楼</td>\n",
       "      <td>120201</td>\n",
       "      <td>[]</td>\n",
       "      <td>华山路678号</td>\n",
       "      <td>121.4395,31.216445</td>\n",
       "      <td>[]</td>\n",
       "      <td>79</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B0FFGLQX1L</td>\n",
       "      <td>B00155MZGA</td>\n",
       "      <td>309</td>\n",
       "      <td>上海戏剧学院-食堂</td>\n",
       "      <td>餐饮服务;中餐厅;清真菜馆</td>\n",
       "      <td>050121</td>\n",
       "      <td>diner</td>\n",
       "      <td>华山路600号上海戏剧学院内(近镇宁路)</td>\n",
       "      <td>121.439069,31.216400</td>\n",
       "      <td>021-62488077;021-62498557</td>\n",
       "      <td>94</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B0FFIGCRA2</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>STA LOUNGE</td>\n",
       "      <td>餐饮服务;外国餐厅;西餐厅(综合风味)</td>\n",
       "      <td>050201</td>\n",
       "      <td>diner</td>\n",
       "      <td>华山路630号上海戏剧学院(近镇宁路)</td>\n",
       "      <td>121.440448,31.216854</td>\n",
       "      <td>021-62888622</td>\n",
       "      <td>94</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B0FFHFCNZY</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>PlayGirls美甲美睫定妆Studio(花姑娘半永久定妆)</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>070000</td>\n",
       "      <td>[]</td>\n",
       "      <td>延安西路421弄(靠近上戏)</td>\n",
       "      <td>121.438599,31.217581</td>\n",
       "      <td>[]</td>\n",
       "      <td>99</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B0FFM6ICQB</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>上海戏剧学院校园餐厅</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>050100</td>\n",
       "      <td>diner</td>\n",
       "      <td>华山路678号附近</td>\n",
       "      <td>121.439175,31.216299</td>\n",
       "      <td>021-62498557;021-62498558</td>\n",
       "      <td>100</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B00152F5EA</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>奥力孚利华大厦</td>\n",
       "      <td>商务住宅;楼宇;商务写字楼</td>\n",
       "      <td>120201</td>\n",
       "      <td>[]</td>\n",
       "      <td>华山路620号</td>\n",
       "      <td>121.440668,31.216889</td>\n",
       "      <td>[]</td>\n",
       "      <td>113</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B0FFH167LZ</td>\n",
       "      <td>B00155LL77</td>\n",
       "      <td>306</td>\n",
       "      <td>马兰花剧场售票处</td>\n",
       "      <td>生活服务;售票处;售票处</td>\n",
       "      <td>070300</td>\n",
       "      <td>[]</td>\n",
       "      <td>华山路643-2号</td>\n",
       "      <td>121.440238,31.216339</td>\n",
       "      <td>021-62497313;021-62494790</td>\n",
       "      <td>113</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>2</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B00155ML89</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>金柏苑</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "      <td>120302</td>\n",
       "      <td>[]</td>\n",
       "      <td>延安西路433号</td>\n",
       "      <td>121.438297,31.217025</td>\n",
       "      <td>021-61335486</td>\n",
       "      <td>117</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B0FFH0HNH1</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>裕和堂中医养生(镇宁路店)</td>\n",
       "      <td>生活服务;洗浴推拿场所;洗浴推拿场所</td>\n",
       "      <td>071400</td>\n",
       "      <td>[]</td>\n",
       "      <td>镇宁路98号爱俪轩1层</td>\n",
       "      <td>121.438580,31.216442</td>\n",
       "      <td>021-62268933</td>\n",
       "      <td>119</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>B0FFIB7PVX</td>\n",
       "      <td>B00151C5FA</td>\n",
       "      <td>306</td>\n",
       "      <td>中国福利会儿童艺术剧院售票处</td>\n",
       "      <td>生活服务;售票处;售票处</td>\n",
       "      <td>070300</td>\n",
       "      <td>[]</td>\n",
       "      <td>华山路643-2号附近</td>\n",
       "      <td>121.440556,31.216536</td>\n",
       "      <td>[]</td>\n",
       "      <td>120</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>2</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>B001558VO1</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>爱俪轩</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "      <td>120302</td>\n",
       "      <td>[]</td>\n",
       "      <td>镇宁路90-98号</td>\n",
       "      <td>121.438537,31.216437</td>\n",
       "      <td>021-62256111;021-52390473</td>\n",
       "      <td>122</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>B00155F3AX</td>\n",
       "      <td>B0FFLGLAMV</td>\n",
       "      <td>309</td>\n",
       "      <td>上海戏剧学院学生公寓</td>\n",
       "      <td>商务住宅;住宅区;宿舍</td>\n",
       "      <td>120303</td>\n",
       "      <td>[]</td>\n",
       "      <td>延安西路331号尚熙大厦上戏学生公寓妮儿</td>\n",
       "      <td>121.439859,31.218351</td>\n",
       "      <td>[]</td>\n",
       "      <td>137</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>B00153F423</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>尚熙大厦</td>\n",
       "      <td>商务住宅;楼宇;商住两用楼宇</td>\n",
       "      <td>120203</td>\n",
       "      <td>[]</td>\n",
       "      <td>延安西路331号</td>\n",
       "      <td>121.439862,31.21836</td>\n",
       "      <td>[]</td>\n",
       "      <td>138</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>B00156Y5O4</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>SEVE(华山路店)</td>\n",
       "      <td>餐饮服务;外国餐厅;意式菜品餐厅</td>\n",
       "      <td>050205</td>\n",
       "      <td>diner</td>\n",
       "      <td>华山路600-1号</td>\n",
       "      <td>121.441011,31.216919</td>\n",
       "      <td>021-62493638</td>\n",
       "      <td>144</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B001559XXH</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>华山公寓</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "      <td>120302</td>\n",
       "      <td>[]</td>\n",
       "      <td>华山路688号</td>\n",
       "      <td>121.439015,31.215918</td>\n",
       "      <td>021-62499878</td>\n",
       "      <td>145</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>B00155FIX3</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>枕流公寓</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "      <td>120302</td>\n",
       "      <td>[]</td>\n",
       "      <td>华山路699号</td>\n",
       "      <td>121.440089,31.215795</td>\n",
       "      <td>[]</td>\n",
       "      <td>160</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>B0FFJM3VP9</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>ST Coffee&amp;Sucre</td>\n",
       "      <td>餐饮服务;餐饮相关场所;餐饮相关</td>\n",
       "      <td>050000</td>\n",
       "      <td>diner</td>\n",
       "      <td>华山路710号</td>\n",
       "      <td>121.439619,31.215687</td>\n",
       "      <td>16621377971</td>\n",
       "      <td>163</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>B00155M0JS</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>链家(镇宁店)</td>\n",
       "      <td>生活服务;中介机构;中介机构</td>\n",
       "      <td>071600</td>\n",
       "      <td>[]</td>\n",
       "      <td>江苏路街道镇宁路91号甲</td>\n",
       "      <td>121.437958,31.216508</td>\n",
       "      <td>021-51120018</td>\n",
       "      <td>164</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>B0FFH88QBA</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>悟空找房(镇宁店)</td>\n",
       "      <td>生活服务;中介机构;中介机构</td>\n",
       "      <td>071600</td>\n",
       "      <td>[]</td>\n",
       "      <td>镇宁路87</td>\n",
       "      <td>121.438001,31.216368</td>\n",
       "      <td>021-52991968</td>\n",
       "      <td>168</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            id      parent childtype                             name  \\\n",
       "0   B00155LB18          []        []                        美丽园(延安西路)   \n",
       "1   B001539E35          []        []                             华景大厦   \n",
       "2   B0FFGLQX1L  B00155MZGA       309                        上海戏剧学院-食堂   \n",
       "3   B0FFIGCRA2          []        []                       STA LOUNGE   \n",
       "4   B0FFHFCNZY          []        []  PlayGirls美甲美睫定妆Studio(花姑娘半永久定妆)   \n",
       "5   B0FFM6ICQB          []        []                       上海戏剧学院校园餐厅   \n",
       "6   B00152F5EA          []        []                          奥力孚利华大厦   \n",
       "7   B0FFH167LZ  B00155LL77       306                         马兰花剧场售票处   \n",
       "8   B00155ML89          []        []                              金柏苑   \n",
       "9   B0FFH0HNH1          []        []                    裕和堂中医养生(镇宁路店)   \n",
       "10  B0FFIB7PVX  B00151C5FA       306                   中国福利会儿童艺术剧院售票处   \n",
       "11  B001558VO1          []        []                              爱俪轩   \n",
       "12  B00155F3AX  B0FFLGLAMV       309                       上海戏剧学院学生公寓   \n",
       "13  B00153F423          []        []                             尚熙大厦   \n",
       "14  B00156Y5O4          []        []                       SEVE(华山路店)   \n",
       "15  B001559XXH          []        []                             华山公寓   \n",
       "16  B00155FIX3          []        []                             枕流公寓   \n",
       "17  B0FFJM3VP9          []        []                  ST Coffee&Sucre   \n",
       "18  B00155M0JS          []        []                          链家(镇宁店)   \n",
       "19  B0FFH88QBA          []        []                        悟空找房(镇宁店)   \n",
       "\n",
       "                   type typecode biz_type               address  \\\n",
       "0         商务住宅;住宅区;住宅小区   120302       []         延安西路379弄2-65号   \n",
       "1         商务住宅;楼宇;商务写字楼   120201       []               华山路678号   \n",
       "2         餐饮服务;中餐厅;清真菜馆   050121    diner  华山路600号上海戏剧学院内(近镇宁路)   \n",
       "3   餐饮服务;外国餐厅;西餐厅(综合风味)   050201    diner   华山路630号上海戏剧学院(近镇宁路)   \n",
       "4    生活服务;生活服务场所;生活服务场所   070000       []        延安西路421弄(靠近上戏)   \n",
       "5          餐饮服务;中餐厅;中餐厅   050100    diner             华山路678号附近   \n",
       "6         商务住宅;楼宇;商务写字楼   120201       []               华山路620号   \n",
       "7          生活服务;售票处;售票处   070300       []             华山路643-2号   \n",
       "8         商务住宅;住宅区;住宅小区   120302       []              延安西路433号   \n",
       "9    生活服务;洗浴推拿场所;洗浴推拿场所   071400       []           镇宁路98号爱俪轩1层   \n",
       "10         生活服务;售票处;售票处   070300       []           华山路643-2号附近   \n",
       "11        商务住宅;住宅区;住宅小区   120302       []             镇宁路90-98号   \n",
       "12          商务住宅;住宅区;宿舍   120303       []  延安西路331号尚熙大厦上戏学生公寓妮儿   \n",
       "13       商务住宅;楼宇;商住两用楼宇   120203       []              延安西路331号   \n",
       "14     餐饮服务;外国餐厅;意式菜品餐厅   050205    diner             华山路600-1号   \n",
       "15        商务住宅;住宅区;住宅小区   120302       []               华山路688号   \n",
       "16        商务住宅;住宅区;住宅小区   120302       []               华山路699号   \n",
       "17     餐饮服务;餐饮相关场所;餐饮相关   050000    diner               华山路710号   \n",
       "18       生活服务;中介机构;中介机构   071600       []          江苏路街道镇宁路91号甲   \n",
       "19       生活服务;中介机构;中介机构   071600       []                 镇宁路87   \n",
       "\n",
       "                location                        tel distance biz_ext  \\\n",
       "0   121.439315,31.217722               021-62494968       65      []   \n",
       "1     121.4395,31.216445                         []       79      []   \n",
       "2   121.439069,31.216400  021-62488077;021-62498557       94      []   \n",
       "3   121.440448,31.216854               021-62888622       94      []   \n",
       "4   121.438599,31.217581                         []       99      []   \n",
       "5   121.439175,31.216299  021-62498557;021-62498558      100      []   \n",
       "6   121.440668,31.216889                         []      113      []   \n",
       "7   121.440238,31.216339  021-62497313;021-62494790      113      []   \n",
       "8   121.438297,31.217025               021-61335486      117      []   \n",
       "9   121.438580,31.216442               021-62268933      119      []   \n",
       "10  121.440556,31.216536                         []      120      []   \n",
       "11  121.438537,31.216437  021-62256111;021-52390473      122      []   \n",
       "12  121.439859,31.218351                         []      137      []   \n",
       "13   121.439862,31.21836                         []      138      []   \n",
       "14  121.441011,31.216919               021-62493638      144      []   \n",
       "15  121.439015,31.215918               021-62499878      145      []   \n",
       "16  121.440089,31.215795                         []      160      []   \n",
       "17  121.439619,31.215687                16621377971      163      []   \n",
       "18  121.437958,31.216508               021-51120018      164      []   \n",
       "19  121.438001,31.216368               021-52991968      168      []   \n",
       "\n",
       "   importance shopid shopinfo poiweight photos  \n",
       "0          []     []        0        []     []  \n",
       "1          []     []        0        []     []  \n",
       "2          []     []        0        []     []  \n",
       "3          []     []        0        []     []  \n",
       "4          []     []        0        []     []  \n",
       "5          []     []        0        []     []  \n",
       "6          []     []        0        []     []  \n",
       "7          []     []        2        []     []  \n",
       "8          []     []        0        []     []  \n",
       "9          []     []        1        []     []  \n",
       "10         []     []        2        []     []  \n",
       "11         []     []        0        []     []  \n",
       "12         []     []        0        []     []  \n",
       "13         []     []        0        []     []  \n",
       "14         []     []        0        []     []  \n",
       "15         []     []        0        []     []  \n",
       "16         []     []        0        []     []  \n",
       "17         []     []        0        []     []  \n",
       "18         []     []        0        []     []  \n",
       "19         []     []        0        []     []  "
      ]
     },
     "execution_count": 21,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# F-3 表格化，可扩展pandas处理\n",
    "df_上海戏剧学院_周边POI = pd.json_normalize(上海戏剧学院_周边POI['pois'])\n",
    "df_上海戏剧学院_周边POI"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# IP定位"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [],
   "source": [
    "def ip(ip:str):\n",
    "    # IP定位可以帮你定位ip的所在位置，输入对应ip即可\n",
    "    url = \"https://restapi.amap.com/v3/ip?parameters\"\n",
    "    params = {\n",
    "        'key':zoe_key,\n",
    "        'ip':ip,\n",
    "        'output':'json'\n",
    "    }\n",
    "    r = requests.get (url, params)\n",
    "    data = r.json()\n",
    "    del data['status']\n",
    "    del data['info']\n",
    "    df = [\"省份：\"+(data['province']),\"地区：\"+(data['city']),\"地理编码：\"+(data['adcode']),\"经纬度：\"+(data['rectangle'])]\n",
    "    print(\"ip:\"+ip)\n",
    "    for i in df:\n",
    "        print(i)\n",
    "    return df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "ip:114.247.50.2\n",
      "省份：北京市\n",
      "地区：北京市\n",
      "地理编码：110000\n",
      "经纬度：116.0119343,39.66127144;116.7829835,40.2164962\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "['省份：北京市',\n",
       " '地区：北京市',\n",
       " '地理编码：110000',\n",
       " '经纬度：116.0119343,39.66127144;116.7829835,40.2164962']"
      ]
     },
     "execution_count": 23,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "ip(\"114.247.50.2\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 多边形搜索 （学生练习）"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 静态地图"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [],
   "source": [
    "from PIL import Image\n",
    "from io import BytesIO\n",
    "\n",
    "# i = Image.open(BytesIO(r.content))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [],
   "source": [
    "from PIL import Image\n",
    "from io import BytesIO\n",
    "def staticmap(location,zoom,size=None,scale=1,markers=None,labels=None,paths=None,traffic=0,page=None,sig=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/staticmap?parameters'\n",
    "    params={\n",
    "        'key':zoe_key,\n",
    "        'location':location,\n",
    "        'zoom':zoom,\n",
    "        'size':size,\n",
    "        'scale':scale,\n",
    "        'markers':markers,\n",
    "        'labels':labels,\n",
    "        'paths':paths,\n",
    "        'traffic':traffic,\n",
    "        'sig':sig,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = Image.open(BytesIO(response.content))\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAMAAAC3Ycb+AAADAFBMVEXw/Oju7ufy8Or58uv7+/z7++3Z5+wQXaM6ctby7+Xx7+bq5+Hr6ePr6eSYsYj38+zo5uHw7+jw7enu6+X39vJko8rw7uft6uXw7uf7+vnq6uLz8Ojr6uPc4uD29PLMgyPa6O1iZGaUk5Oyagzf2c/08er49e3d6u/5+fjr6eLe2M328uvp5t/39O3x7+xlZ2no6eLi4+L19vLp6ejw7eb29fPY5eje2c7u6uH29PL7+fnv7eja5upgYWT7+PTv7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vLXCAcJyMbPeNoYM+FXnwFPHdLxT/CCD3m/c3zCxuPfTVi3bF+x4MPFVqZOX7xAM07dkkMEs0gT/w0HKoDVABEwyG+xU5gZI17j1XCSF4uJxY7FWz9ACz1CicDiAfEM3P3Jtz/NefDxl1TJX/8ai/EogpsdmtEQAjLhOksTACAbj7ejcAHd2g4X/Mi+ZZ9MOP4r84Tv/hvAcoIBCwEGAJFJlQJoAImOdoUrsGb/L4JFsKziSG38p4hFlPdFhAyi5BT2420QHhM1wp3OyImcMk3gWUBe2LK/++67qXuuZVNZJSWNEA19QYFgtS0vlpnMZtMy8MA+IO2t7G1/obU9ZsLxdTQO6k4wIf4oWjfhOLt/OGHdxuOsQFt3fGOmBI5bt7Yg/Yp3hSW21rFuUfqI6hAkISlbvgIGYTZC3CUFbPycA/uYzEStS6kpRCgYCixRTywWEMgHy1rNnOLYBxTHLJI5LJZs9s1sixIkxM8va4c3/IUJx/97zjzAIRPaWzEL0GhLd/sJet06RoYBrmllnqxb19q+VwgHQOMjrpM0zr7jEMGflBbram/Y1anEIji1gWWQAtSEiSoIEi/yavLmtoMJ6n9CHykjeqUslvbEQgPuLUH1Bn6qOk1RX9vcVgrlobDd0BW1hG5I7RQ62sbPjreCw8VMoDmGwDuI44Z0LFN8cmXIyj1ZJ2psfWsGjwbsJX0LI/JfCBGdIUbB2dbswCtuVN0iGYR1CieLL7NfuHGrjgmS2WRZOxBY0p5YEJAKwxk9hwZ9YqqMahK3G7LYQaSdXX8kpgAggAXWrfsNUCzt1+Er4wAGLIforPtoyE6fgf/aaR2JhmRYxy2GJ5Bmp81jDfLDFHL6NLOI/F4uZpBi5moYp3CKJNdEbjILxEROuSOP0OxBJFE19KCeWCfQIEW4Tw17Yv3/gDk1EjqnbFgAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<PIL.PngImagePlugin.PngImageFile image mode=P size=400x400 at 0x5423CC8>"
      ]
     },
     "execution_count": 26,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "staticmap(location=上戏_location,zoom=18)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 坐标转换"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [],
   "source": [
    "def assistant(locations:str,coordsys:str):\n",
    "    # 坐标转换\n",
    "    # locations填入非高德坐标\n",
    "    # coordsys可选值：gps,mapbar,baidu,autonavi（不进行转换）\n",
    "    \n",
    "    url = \"https://restapi.amap.com/v3/assistant/coordinate/convert?parameters\"\n",
    "    params = {\n",
    "        'key':zoe_key,\n",
    "        'coordsys':coordsys,\n",
    "        'locations':locations,\n",
    "        'output':'json'\n",
    "    }\n",
    "    r = requests.get (url, params)\n",
    "    data = r.json()['locations']\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'113.329580891928,23.129339463976;113.322795952691,23.081178927952'"
      ]
     },
     "execution_count": 28,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "assistant(\"113.324156,23.131929|113.317388,23.083801\",'gps')\n",
    "# 天环广场|小蛮腰（广州塔）"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 天气查询"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [],
   "source": [
    "def weather(city:str):\n",
    "    # 天气查询\n",
    "    # 查询当地天气情况\n",
    "    url = \"https://restapi.amap.com/v3/weather/weatherInfo?parameters\"\n",
    "    params = {\n",
    "        'key':zoe_key,\n",
    "        'city':city,\n",
    "        'output':'json'\n",
    "    }\n",
    "    r = requests.get (url, params)\n",
    "    data = r.json()\n",
    "    \n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'lives': [{'province': '广东',\n",
       "   'city': '广州市',\n",
       "   'adcode': '440100',\n",
       "   'weather': '雨',\n",
       "   'temperature': '18',\n",
       "   'winddirection': '东北',\n",
       "   'windpower': '≤3',\n",
       "   'humidity': '87',\n",
       "   'reporttime': '2020-04-23 12:52:31'}]}"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "weather('广州')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'lives': [{'province': '北京',\n",
       "   'city': '北京市',\n",
       "   'adcode': '110000',\n",
       "   'weather': '晴',\n",
       "   'temperature': '15',\n",
       "   'winddirection': '西北',\n",
       "   'windpower': '≤3',\n",
       "   'humidity': '11',\n",
       "   'reporttime': '2020-04-23 12:58:32'}]}"
      ]
     },
     "execution_count": 31,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "weather('北京')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 输入提示"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [],
   "source": [
    "def inputtips(keywords:str):\n",
    "    # 填写关键词课查询\n",
    "    url = \"https://restapi.amap.com/v3/assistant/inputtips?parameters\"\n",
    "    params = {\n",
    "        'key':zoe_key,\n",
    "        'keywords':keywords,\n",
    "        'output':'json'\n",
    "    }\n",
    "    r = requests.get (url, params)\n",
    "    data = r.json()\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '10',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'tips': [{'id': 'B000A81FPJ',\n",
       "   'name': '中央戏剧学院东城校区',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.404613,39.935962',\n",
       "   'address': '东棉花胡同39号',\n",
       "   'typecode': '141201',\n",
       "   'city': []},\n",
       "  {'id': 'B000A87K2J',\n",
       "   'name': '中央戏剧学院(昌平校区)',\n",
       "   'district': '北京市昌平区',\n",
       "   'adcode': '110114',\n",
       "   'location': '116.375841,40.10454',\n",
       "   'address': '北七家镇郑各庄村宏福中路4号',\n",
       "   'typecode': '141201',\n",
       "   'city': []},\n",
       "  {'id': 'B000A84KLN',\n",
       "   'name': '中央戏剧学院(南1门)',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.405126,39.935665',\n",
       "   'address': '东棉花胡同39号',\n",
       "   'typecode': '991400',\n",
       "   'city': []},\n",
       "  {'id': 'B000A81FJ4',\n",
       "   'name': '中央戏剧学院实验剧场',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.403602,39.93594',\n",
       "   'address': '东棉花胡同39',\n",
       "   'typecode': '080603',\n",
       "   'city': []},\n",
       "  {'id': 'B000A84M6T',\n",
       "   'name': '中央戏剧学院(南3门)',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.403986,39.935687',\n",
       "   'address': '东棉花胡同39号',\n",
       "   'typecode': '991401',\n",
       "   'city': []},\n",
       "  {'id': 'B0FFFDZUIZ',\n",
       "   'name': '中央戏剧学院昌平校区(西门)',\n",
       "   'district': '北京市昌平区',\n",
       "   'adcode': '110114',\n",
       "   'location': '116.373204,40.105305',\n",
       "   'address': '宏福中路4号',\n",
       "   'typecode': '991401',\n",
       "   'city': []},\n",
       "  {'id': 'B000A82J9Z',\n",
       "   'name': '中央戏剧学院停车场(出入口)',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.404078,39.935851',\n",
       "   'address': '东棉花胡同',\n",
       "   'typecode': '150904|150909',\n",
       "   'city': []},\n",
       "  {'id': 'B000A853D0',\n",
       "   'name': '中央戏剧学院演出艺术中心',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.403252,39.935672',\n",
       "   'address': '东棉花胡同39号',\n",
       "   'typecode': '080600',\n",
       "   'city': []},\n",
       "  {'id': 'B000A84KJL',\n",
       "   'name': '中央戏剧学院宿舍(交道口街道绿化队绿化办公室西)',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.398611,39.937759',\n",
       "   'address': '豆角胡同25号',\n",
       "   'typecode': '120302',\n",
       "   'city': []},\n",
       "  {'id': 'B000A88DQO',\n",
       "   'name': '中央戏剧学院宿舍(北1门)',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.406306,39.935624',\n",
       "   'address': '东棉花胡同22号',\n",
       "   'typecode': '991401',\n",
       "   'city': []}]}"
      ]
     },
     "execution_count": 33,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "inputtips(\"中央戏剧学院\")  "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 交通态势"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {},
   "outputs": [],
   "source": [
    "def rectangle(rectangle:str):\n",
    "    # rectangle：填写查询的经纬度\n",
    "    url = \"https://restapi.amap.com/v3/traffic/status/rectangle?parameters\"\n",
    "    params = {\n",
    "        'key':zoe_key,\n",
    "        'rectangle':rectangle,\n",
    "        'output':'json'\n",
    "    }\n",
    "    r = requests.get (url, params)\n",
    "    data = r.json()\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'trafficinfo': {'description': '艺苑路：自南向北缓慢，反向畅通；体育东路：从黄埔大道隧道到天河南一路行驶缓慢；聚德北路：自西向东畅通，反向缓慢；赤岗西路：从赤岗路到敦和路行驶缓慢；滨江东路：自西向东畅通，反向缓慢；体育东横街：双向缓慢。',\n",
       "  'evaluation': {'expedite': '83.05%',\n",
       "   'congested': '13.56%',\n",
       "   'blocked': '0.00%',\n",
       "   'unknown': '3.39%',\n",
       "   'status': '2',\n",
       "   'description': '轻度拥堵'}}}"
      ]
     },
     "execution_count": 35,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "rectangle(\"113.329580891928,23.129339463976;113.322795952691,23.081178927952\") # 前面天环广场，广州塔的经纬度结果"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 地理围栏"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 创建（地理）围栏"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {},
   "outputs": [],
   "source": [
    "def create(name=\"测试围栏名称\",center=\"113.329580891928,23.129339463976\",radius=\"1800\",valid_time=\"2020-08-18\",desc=\"测试围栏描述\"):\n",
    "    # create:创建一个地理围栏\n",
    "    url = \"https://restapi.amap.com/v4/geofence/meta\"\n",
    "    params = {\n",
    "        \"key\":zoe_key,\n",
    "        \"name\": name,\n",
    "        \"center\": center,\n",
    "        \"radius\": \"1800\",\n",
    "        \"enable\": \"true\",\n",
    "        \"valid_time\": \"2020-08-18\",\n",
    "        \"repeat\": \"Mon,Tues,Wed,Thur,Fri,Sat,Sun\",\n",
    "        \"time\": \"00:00,09:59;14:30,20:59\",\n",
    "        \"desc\": \"测试围栏描述\",\n",
    "        \"alert_condition\": \"enter;leave\"}\n",
    "    r = requests.post(url,params)\n",
    "    data = r.json\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "metadata": {},
   "outputs": [
    {
     "ename": "NameError",
     "evalue": "name 'geo' is not defined",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mNameError\u001b[0m                                 Traceback (most recent call last)",
      "\u001b[1;32m<ipython-input-51-892b1055c688>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m\u001b[0m\n\u001b[1;32m----> 1\u001b[1;33m \u001b[0mcreate\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mname\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;34m\"测试围栏名称\"\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0mcenter\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mgeo\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m\"天环广场\"\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
      "\u001b[1;31mNameError\u001b[0m: name 'geo' is not defined"
     ]
    }
   ],
   "source": [
    "create(name=\"测试围栏名称\",center=geo(\"天环广场\"))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### ↑↑↑？？？"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 简单的应用\n",
    "\n",
    "### 特定人群的出行路线指引应用（例如，盲人，残障人士，老年人，孩童等）\n",
    "\n",
    "#####  一、所调用的高德API：\n",
    "+ 路径规划：给用户进行路线规划\n",
    "+ 搜索POI：通过关键字搜索，会通过推荐算法优先推送搜索流量较多的地点进行推送\n",
    "+ 静态地图：通过用户设置地图大小，选择地图中心坐标，通过计算机视觉检索运算截取数据库中地图的一部分发送给用户\n",
    "+ 天气查询：查询目标区域当前/未来的天气情况\n",
    "+ 输入提示：根据用户输入的关键词查询返回建议列表\n",
    "+ 交通态势：判断车辆密集程度进行决策预判\n",
    "+ IP定位：根据用户输入的IP地址，能够快速的帮用户定位IP的所在位置\n",
    "\n",
    "##### 二、产品需求：\n",
    "+ 现如今，关于人们出行的导航类软件层出不穷，越来越多的APP或者小程序都在开发类似的产品\n",
    "+ 但是专门针对部分特殊人群设计出行路线的指导产品却少之又少\n",
    "+ 针对这个用户痛点，结合高德地图有关的API，打造一个专属人群出现的路线指引，满足一部分用户的需求\n",
    "\n",
    "1. 盲人：需要更为完善的路线推荐，避免出行路线中人群拥堵等所造成的各种困难和尴尬？\n",
    "2. 残障人士：同样也是有相对应的设施保障，出行线路需要更为其身体需求所想\n",
    "3. 老年人：在特定数据分析下，为老年人开辟“专门”绿色通道\n",
    "4. 孩童：用于个人监护、走失、被拐、绑架等情况下求助、报警，特殊人群监视跟综等。\n",
    "\n",
    "##### 三、产品描述：\n",
    "+ 出行路线指引是以语音识别功能为基础的，用户根据语音**提示输入**要到达的目的地。\n",
    "+ 应用再根据**IP定位**功能？实行**搜索POI**，**天气查询**，**交通态势**的分析并作出**路径规划**，为用户选择最方便快捷、障碍最少或者交通状况最优的路线，以帮助用户解决出行困难的问题。\n",
    "+ 提供**静态地图**？老人小孩对图片识别更快？\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.6"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {
    "height": "calc(100% - 180px)",
    "left": "10px",
    "top": "150px",
    "width": "327.391px"
   },
   "toc_section_display": true,
   "toc_window_display": true
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
